Skip to content

Commit

Permalink
Merge pull request #1749 from Meng-Heng/add-alerts-kb
Browse files Browse the repository at this point in the history
feat: add alerts to knowledge base pages
  • Loading branch information
mcdurdin authored Dec 10, 2024
2 parents b24ad22 + 70549ac commit 7a13949
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions knowledge-base/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@
echo "<a href='".link_from_id($nid)."'>Next article &gt;</a> ";
}
echo "</p><hr>";
$Parsedown = new \ParsedownExtra();
echo $Parsedown->text($kb);
$ParsedownAndAlerts = new \Keyman\Site\Common\GFMAlerts();
echo $ParsedownAndAlerts->text($kb);
} else {
echo "<h1>Knowledge Base index</h1>";
echo "<ul>";
Expand Down

0 comments on commit 7a13949

Please sign in to comment.