diff --git a/app/rendering.php b/app/rendering.php
index 5b27ebe..4da9798 100644
--- a/app/rendering.php
+++ b/app/rendering.php
@@ -14,7 +14,10 @@ function renderContentFile(string $filePath): string {
if (!class_exists('Parsedown')) {
require_once __DIR__ . '/vendor/Parsedown.php';
}
- $html = '' . (new Parsedown())->text(file_get_contents($filePath)) . '';
+ if (!class_exists('ParsedownExtra')) {
+ require_once __DIR__ . '/vendor/ParsedownExtra.php';
+ }
+ $html = '' . (new ParsedownExtra())->text(file_get_contents($filePath)) . '';
setCachedMarkdown($filePath, $html);
echo $html;
}