summaryrefslogtreecommitdiff
path: root/_includes/markdown-enhancements/mermaid.html
blob: 64e4dac6e4e2bc01b584eb33b08dea1af5837db6 (plain)
1
2
3
4
5
6
7
8
9
10
{%- include snippets/get-sources.html -%}
{%- assign _sources = __return -%}
<script>
  window.Lazyload.js('{{ _sources.mermaid }}', function() {
    mermaid.initialize({
      startOnLoad: true
    });
    mermaid.init(undefined, '.language-mermaid');
  });
</script>