1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-11-24 07:30:12 +01:00

Merge pull request #4831 from jcouball/upgrade_mermaid

Upgraded to Mermaid v9.3.0
This commit is contained in:
Martin Donath 2023-01-05 22:50:30 +01:00 committed by GitHub
commit eb5d318603
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)
}