feat: fixed mermaid diagrams
This commit is contained in:
parent
a6ce214130
commit
ffd33049d9
3 changed files with 20 additions and 0 deletions
|
|
@ -60,6 +60,13 @@
|
|||
{{ content | safe }}
|
||||
</main>
|
||||
|
||||
{% if mermaid %}
|
||||
<script type="module">
|
||||
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@11/dist/mermaid.esm.min.mjs';
|
||||
mermaid.initialize({ startOnLoad: true });
|
||||
</script>
|
||||
{% endif %}
|
||||
|
||||
<footer>
|
||||
<div>
|
||||
<!-- Social Things -->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue