Skip to content

Commit

Permalink
Update to mermaidjs 10.5.0 (#2051)
Browse files Browse the repository at this point in the history
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Steven Silvester <[email protected]>
  • Loading branch information
3 people authored Oct 4, 2023
1 parent a2bc991 commit 0e36347
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbconvert/exporters/html.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ class HTMLExporter(TemplateExporter):
).tag(config=True)

mermaid_js_url = Unicode(
"https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.3.1/mermaid.esm.min.mjs",
"https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.5.0/mermaid.esm.min.mjs",
help="""
URL to load MermaidJS from.
Expand Down
2 changes: 1 addition & 1 deletion share/templates/lab/mermaidjs.html.j2
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{%- macro mermaid_js(
url="https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.3.1/mermaid.esm.min.mjs"
url="https://cdnjs.cloudflare.com/ajax/libs/mermaid/10.5.0/mermaid.esm.min.mjs"
) -%}
<script type="module">
document.addEventListener("DOMContentLoaded", async () => {
Expand Down

0 comments on commit 0e36347

Please sign in to comment.