add mermaid and katex support on cours pages
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
Some checks are pending
ci/woodpecker/push/publish Pipeline is pending
This commit is contained in:
parent
5520952d07
commit
2cb1e664fe
1 changed files with 4 additions and 1 deletions
|
@ -15,9 +15,12 @@
|
||||||
<p>Fichier introuvable</p>
|
<p>Fichier introuvable</p>
|
||||||
{{/content}} {{#content}}
|
{{/content}} {{#content}}
|
||||||
<article>{{&content}}</article>
|
<article>{{&content}}</article>
|
||||||
{{/content}} {{/data}}
|
|
||||||
</main>
|
</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>
|
<script src="/js/cours.js"></script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Reference in a new issue