add mermaid and katex support on cours pages
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending

This commit is contained in:
Mylloon 2023-12-10 19:26:29 +01:00
parent 5520952d07
commit 2cb1e664fe
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -15,9 +15,12 @@
<p>Fichier introuvable</p>
{{/content}} {{#content}}
<article>{{&content}}</article>
{{/content}} {{/data}}
</main>
{{#metadata}} {{#mermaid}}{{>libs/mermaid_footer.html}}{{/mermaid}}
{{#math}}{{>libs/katex_footer.html}}{{/math}}
{{#syntax_highlight}}{{>libs/hljs_footer.html}}{{/syntax_highlight}}
{{/metadata}} {{/content}} {{/data}}
<script src="/js/cours.js"></script>
</body>
</html>