Updated Mermaid.js to 9.4.3

This commit is contained in:
squidfunk 2023-03-24 21:09:15 +01:00
parent 33aeeaa007
commit 6a4be6b723
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
5 changed files with 13 additions and 12 deletions

View File

@ -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 %}

View File

@ -78,6 +78,7 @@ marker {
.edgePath .path,
.flowchart-link {
stroke: var(--md-mermaid-edge-color);
stroke-width: .05rem;
}
/* Flowchart arrow head */
@ -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;
}

View File

@ -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)
}