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:
commit
eb5d318603
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -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 %}
|
||||
|
@ -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)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user