Fixed Markdown formatted nodes in Mermaid.js

This commit is contained in:
squidfunk 2024-01-28 11:48:36 +07:00
parent f55ce2c81b
commit 335dd3addb
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
4 changed files with 3 additions and 38 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -249,7 +249,7 @@
</script>
{% endblock %}
{% block scripts %}
<script src="{{ 'assets/javascripts/bundle.c18c5fb9.min.js' | url }}"></script>
<script src="{{ 'assets/javascripts/bundle.e1c3ead8.min.js' | url }}"></script>
{% for script in config.extra_javascript %}
{{ script | script_tag }}
{% endfor %}

View File

@ -200,7 +200,8 @@ g.stateGroup .composit {
}
/* State node label */
.nodeLabel {
.nodeLabel,
.nodeLabel p {
color: var(--md-mermaid-label-fg-color);
font-family: var(--md-mermaid-font-family);
}