Skip to content

Commit

Permalink
Adjust Mermaid block styling and block content (#1456)
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed May 31, 2023
1 parent 4b234dd commit b2c68e7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions assets/scss/_code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,6 @@
pre.mermaid {
background-color: inherit;
font-size: 0;
padding: 0;
}
}
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ .Page.Store.Set "hasmermaid" true -}}

<pre class="mermaid">
{{- .Inner }}
{{- .Inner -}}
</pre>

0 comments on commit b2c68e7

Please sign in to comment.