diff options
author | filip <filip.komar@gmail.com> | 2020-10-29 16:47:48 +0100 |
---|---|---|
committer | filip <filip.komar@gmail.com> | 2020-10-29 16:47:48 +0100 |
commit | 5f2bb22ccec4c76114a268dbb63dc806f3d0265b (patch) | |
tree | 09353b77c12ac5f88946f0540cc2b43cc4749d26 /index.php | |
parent | 8f70f3d79c30a32cc7e21ac7df1deca359f479db (diff) | |
download | nav-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.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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> |