mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 22:00:39 +00:00
fix mermaid default font
This commit is contained in:
parent
ed3686684d
commit
5eb04b81d2
12
CHANGELOG.md
12
CHANGELOG.md
@ -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
|
||||
|
@ -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>
|
||||
|
@ -112,3 +112,8 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// {{< mermaid >}}
|
||||
.gdoc-mermaid {
|
||||
font-family: "Liberation Sans", sans-serif;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user