Skip to content

Commit

Permalink
Add support for sequence diagrams
Browse files Browse the repository at this point in the history
This upgrades the mermaid.js library to v10.8.0 to support more recently adopted diagram types.

This seemed to work locally with sequence, timeline and C4 diagrams but I haven’t tested extensively.
  • Loading branch information
mrmanc committed Feb 20, 2024
1 parent 9f875ab commit 604881c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _layouts/reveal.html
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@
{ src: '{{ site.reveal_path }}plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '{{ site.reveal_path }}plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
{% if site.mermaid_diagrams %}
{ src: 'https://cdn.jsdelivr.net/npm/mermaid@9.1.6/dist/mermaid.min.js'},
{ src: 'https://cdn.jsdelivr.net/npm/mermaid@10.8.0/dist/mermaid.min.js'},
{ src: '{{ 'assets/js/mermaid/reveal-js-mermaid-plugin.js' | relative_url }}'},
{% endif %}
{% if site.reveal_notes_server %}
Expand Down

0 comments on commit 604881c

Please sign in to comment.