Skip to content

Commit

Permalink
Rename script to disambiguate from the mermaid.js library
Browse files Browse the repository at this point in the history
This is just integration code adapted from [reveal.js-mermaid-plugin](https://github.com/ludwick/reveal.js-mermaid-plugin). It was confusing having it named mermaid.js as that is also the name of the library it integrates.
  • Loading branch information
mrmanc committed Sep 5, 2022
1 parent f7544ac commit 95256af
Show file tree
Hide file tree
Showing 2 changed files 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 @@ -123,7 +123,7 @@
{ 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/[email protected]/dist/mermaid.min.js'},
{ src: '{{ 'js/mermaid/mermaid.js' | relative_url }}'},
{ src: '{{ 'js/mermaid/reveal-js-mermaid-plugin.js' | relative_url }}'},
{% endif %}
{% if site.reveal_notes_server %}
{ src: '{{ site.reveal_path }}socket.io/socket.io.js', async: true },
Expand Down
File renamed without changes.

0 comments on commit 95256af

Please sign in to comment.