From 8a3e498b2293c11749c557f2850470f9a3a4d7e0 Mon Sep 17 00:00:00 2001 From: Ubergeek Date: Thu, 4 Jul 2019 16:27:10 +0000 Subject: [PATCH] Updated wiki.php to use parsedown --- wiki.php | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/wiki.php b/wiki.php index ecd0579..98d3e04 100644 --- a/wiki.php +++ b/wiki.php @@ -1,10 +1,15 @@ @@ -30,7 +40,8 @@ print " @@ -42,7 +53,8 @@ print "
@@ -50,7 +62,7 @@ print "
"; -echo ( shell_exec("/usr/bin/pandoc $doc_root/articles/$page.md") ); +echo $Parsedown->text($content); print "
@@ -62,7 +74,7 @@ print "
"; -echo ( shell_exec("/usr/bin/pandoc $doc_root/includes/footer.md") ); +echo $Parsedown->text($footer); print "