diff --git a/CHANGELOG.md b/CHANGELOG.md index 3798749..71fa54c 100644 --- a/CHANGELOG.md +++ b/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 diff --git a/layouts/shortcodes/mermaid.html b/layouts/shortcodes/mermaid.html index 372cda6..5e9d99e 100644 --- a/layouts/shortcodes/mermaid.html +++ b/layouts/shortcodes/mermaid.html @@ -11,6 +11,6 @@ {{ .Page.Scratch.Set "mermaid" true }} {{ end }} -
+
   {{- .Inner -}}
 
diff --git a/src/sass/_shortcodes.scss b/src/sass/_shortcodes.scss index 908e003..a5cb6ac 100644 --- a/src/sass/_shortcodes.scss +++ b/src/sass/_shortcodes.scss @@ -112,3 +112,8 @@ } } } + +// {{< mermaid >}} +.gdoc-mermaid { + font-family: "Liberation Sans", sans-serif; +}