aboutsummaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2020-10-29 16:47:48 +0100
committerfilip <filip.komar@gmail.com>2020-10-29 16:47:48 +0100
commit5f2bb22ccec4c76114a268dbb63dc806f3d0265b (patch)
tree09353b77c12ac5f88946f0540cc2b43cc4749d26 /index.php
parent8f70f3d79c30a32cc7e21ac7df1deca359f479db (diff)
downloadnav-5f2bb22ccec4c76114a268dbb63dc806f3d0265b.tar
nav-5f2bb22ccec4c76114a268dbb63dc806f3d0265b.tar.gz
nav-5f2bb22ccec4c76114a268dbb63dc806f3d0265b.tar.bz2
nav-5f2bb22ccec4c76114a268dbb63dc806f3d0265b.tar.xz
nav-5f2bb22ccec4c76114a268dbb63dc806f3d0265b.zip
switch mognase to a new markup library Parsedown
Diffstat (limited to 'index.php')
-rw-r--r--index.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/index.php b/index.php
index 6467e80..43cfae1 100644
--- a/index.php
+++ b/index.php
@@ -29,8 +29,9 @@
<body class="community">
<div id="navdoc">
<?php
- include 'lib/php-markdown/markdown.php';
- echo Markdown(file_get_contents('README.md'));
+ include 'lib/Parsedown/Parsedown.php';
+ $Parsedown = new Parsedown();
+ echo $Parsedown->text(file_get_contents('README.md'));
?>
</div>
<script src="/js/"></script>