fix mermaid default font

uci-hugo-doc
Robert Kaussow 2020-06-02 21:22:10 +02:00
parent ed3686684d
commit 5eb04b81d2
3 changed files with 7 additions and 12 deletions

View File

@ -1,12 +1,2 @@
* BREAKING
* use pre tag instead of p for mermaid shortcode
* BUGFIX
* optimize resource loading
* refactor expand shortcode to use valid html
* fix formatting of nested shortcodes markdown
* INTERNAL
* add markdown linting to CI (markdownlint-cli)
* add spellchecking to CI (spellcheck-cli)
* add html/css validation to CI (nu.validator)
* add page validation to CI (lighthouse-ci)
* add broken link check to CI (broken-link-checker)
* fix mermaid default font

View File

@ -11,6 +11,6 @@
{{ .Page.Scratch.Set "mermaid" true }}
{{ end }}
<pre class="mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
<pre class="gdoc-mermaid mermaid{{ with .Get "class" }} {{ . }}{{ end }}">
{{- .Inner -}}
</pre>

View File

@ -112,3 +112,8 @@
}
}
}
// {{< mermaid >}}
.gdoc-mermaid {
font-family: "Liberation Sans", sans-serif;
}