mirror of
https://github.com/squidfunk/mkdocs-material.git
synced 2024-11-28 01:10:58 +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>
|
</script>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
{% block scripts %}
|
{% 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 %}
|
{% for script in config.extra_javascript %}
|
||||||
{{ script | script_tag }}
|
{{ script | script_tag }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
@ -68,7 +68,7 @@ marker {
|
|||||||
|
|
||||||
/* Flowchart edge label */
|
/* Flowchart edge label */
|
||||||
.edgeLabel,
|
.edgeLabel,
|
||||||
.edgeLabel rect {
|
.edgeLabel p {
|
||||||
color: var(--md-mermaid-edge-color);
|
color: var(--md-mermaid-edge-color);
|
||||||
background-color: var(--md-mermaid-label-bg-color);
|
background-color: var(--md-mermaid-label-bg-color);
|
||||||
fill: var(--md-mermaid-label-bg-color);
|
fill: var(--md-mermaid-label-bg-color);
|
||||||
|
@ -69,7 +69,7 @@ let sequence = 0
|
|||||||
*/
|
*/
|
||||||
function fetchScripts(): Observable<void> {
|
function fetchScripts(): Observable<void> {
|
||||||
return typeof mermaid === "undefined" || mermaid instanceof Element
|
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)
|
: of(undefined)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user