Mylloon
9dfcc1101d
All checks were successful
ci/woodpecker/push/publish Pipeline was successful
feat: Basic support for new `/cours` endpoint (not ready for release yet), see commit description for more - Basic /cours support - Fix LaTeX support (see #47 / cours+blog) - Better detection of when there is LaTeX in document - Don't shuffle markdown and LaTeX processing (thanks to comrak) - Macros on release - Local image support (cours+blog) - PDF support - Support of markdown files integration in other markdown files - Very basic exclusion support in toc (need a lot of improvement!!) - Update multiple dependencies (actix-web, ramhorns, comrak, reqwest, hljs) - Reformat some code - ToC in /cours support (very basic, works via building it in rust and processing it in js) - Remove very old assets (font + jspdf) - Hide navbar when printing the website - New tag in index page - Fix OCaml support for HLJS + add "pseudocode" derived from Julia Reviewed-on: #44 Co-authored-by: Mylloon <kennel.anri@tutanota.com> Co-committed-by: Mylloon <kennel.anri@tutanota.com>
30 lines
884 B
HTML
30 lines
884 B
HTML
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head dir="ltr">
|
|
{{>head.html}}
|
|
<link rel="stylesheet" href="/css/cours.css" />
|
|
{{#data}} {{#content}} {{#metadata}}
|
|
{{#math}}{{>libs/katex_head.html}}{{/math}}
|
|
{{#syntax_highlight}}{{>libs/hljs_head.html}}{{/syntax_highlight}}
|
|
{{/metadata}} {{/content}}
|
|
</head>
|
|
<body>
|
|
<header>{{>navbar.html}}</header>
|
|
|
|
<aside>
|
|
<span data-json="{{filetree}} "></span>
|
|
</aside>
|
|
<main>
|
|
{{^content}}
|
|
<p>Fichier introuvable</p>
|
|
{{/content}} {{#content}}
|
|
<article>{{&content}}</article>
|
|
</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>
|