Skip to content

Commit

Permalink
Updated Mermaid.js to 9.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
squidfunk committed Mar 24, 2023
1 parent 33aeeaa commit 6a4be6b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.19047be9.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.407015b8.min.js' | url }}"></script>
{% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script>
{% endfor %}
Expand Down
13 changes: 7 additions & 6 deletions src/assets/javascripts/components/content/code/mermaid/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ marker {
.edgePath .path,
.flowchart-link {
stroke: var(--md-mermaid-edge-color);
stroke-width: .05rem;
}

/* Flowchart arrow head */
Expand All @@ -99,12 +100,12 @@ marker {
}

/* Flowchart markers */
defs #flowchart-circleStart,
defs #flowchart-circleEnd,
defs #flowchart-crossStart,
defs #flowchart-crossEnd,
defs #flowchart-pointStart,
defs #flowchart-pointEnd {
g #flowchart-circleStart,
g #flowchart-circleEnd,
g #flowchart-crossStart,
g #flowchart-crossEnd,
g #flowchart-pointStart,
g #flowchart-pointEnd {
stroke: none;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ let sequence = 0
*/
function fetchScripts(): Observable<void> {
return typeof mermaid === "undefined" || mermaid instanceof Element
? watchScript("https://unpkg.com/mermaid@9.3.0/dist/mermaid.min.js")
? watchScript("https://unpkg.com/mermaid@9.4.3/dist/mermaid.min.js")
: of(undefined)
}

Expand Down

0 comments on commit 6a4be6b

Please sign in to comment.