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> </script>
{% endblock %} {% endblock %}
{% block scripts %} {% 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 %} {% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script> <script src="{{ path | url }}"></script>
{% endfor %} {% endfor %}

View File

@ -78,6 +78,7 @@ marker {
.edgePath .path, .edgePath .path,
.flowchart-link { .flowchart-link {
stroke: var(--md-mermaid-edge-color); stroke: var(--md-mermaid-edge-color);
stroke-width: .05rem;
} }
/* Flowchart arrow head */ /* Flowchart arrow head */
@ -99,12 +100,12 @@ marker {
} }
/* Flowchart markers */ /* Flowchart markers */
defs #flowchart-circleStart, g #flowchart-circleStart,
defs #flowchart-circleEnd, g #flowchart-circleEnd,
defs #flowchart-crossStart, g #flowchart-crossStart,
defs #flowchart-crossEnd, g #flowchart-crossEnd,
defs #flowchart-pointStart, g #flowchart-pointStart,
defs #flowchart-pointEnd { g #flowchart-pointEnd {
stroke: none; stroke: none;
} }

View File

@ -69,7 +69,7 @@ let sequence = 0
*/ */
function fetchScripts(): Observable<void> { function fetchScripts(): Observable<void> {
return typeof mermaid === "undefined" || mermaid instanceof Element 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) : of(undefined)
} }