1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-23 23:21:00 +01:00

Updated Mermaid to v11 (#7475)

This commit is contained in:
Mike Anselmi 2024-08-24 05:42:59 -04:00 committed by GitHub
parent f88c43695f
commit d3b17920a2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 8 deletions

File diff suppressed because one or more lines are too long

View File

@ -249,7 +249,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.af256bd8.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.da20803e.min.js' | url }}"></script>
{% for script in config.extra_javascript %}
{{ script | script_tag }}
{% endfor %}

View File

@ -68,7 +68,7 @@ marker {
/* Flowchart edge label */
.edgeLabel,
.edgeLabel rect {
.edgeLabel p {
color: var(--md-mermaid-edge-color);
background-color: var(--md-mermaid-label-bg-color);
fill: var(--md-mermaid-label-bg-color);

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@10/dist/mermaid.min.js")
? watchScript("https://unpkg.com/mermaid@11/dist/mermaid.min.js")
: of(undefined)
}