1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2025-01-18 17:04:09 +01:00

Upgrade to Mermaid 9.3.0

This commit is contained in:
James Couball 2023-01-05 11:14:01 -08:00
parent 9df1beeda3
commit ce246275c0
4 changed files with 5 additions and 5 deletions

View File

@ -240,7 +240,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.5cf534bf.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.a6761dc7.min.js' | url }}"></script>
{% for path in config.extra_javascript %}
<script src="{{ path | url }}"></script>
{% endfor %}

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