Skip to content

Commit

Permalink
Update mermaid.html
Browse files Browse the repository at this point in the history
  • Loading branch information
nicobako authored May 12, 2024
1 parent 56bb0b2 commit 915b102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mermaid.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
const mermaid_el_id = 'mermaid';
const el = document.getElementById(mermaid_el_id);
const graph = mapped.mermaid;
mermaid.render("graphDiv", graph).then( res => el.innerHTML = res.svg );
mermaid.render("graphDiv", graph).then( res => el.innerHtml = res.svg );
</script>
<script type="module">
import mermaid from 'https://cdn.jsdelivr.net/npm/mermaid@10/dist/mermaid.esm.min.mjs';
Expand Down

0 comments on commit 915b102

Please sign in to comment.