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