Skip to content

Commit

Permalink
Updated Mermaid to v11 (#7475)
Browse files Browse the repository at this point in the history
  • Loading branch information
manselmi authored Aug 24, 2024
1 parent f88c436 commit d3b1792
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion material/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit d3b1792

Please sign in to comment.