Skip to content

Commit

Permalink
Adjust Mermaid block styling and block content google#1453
Browse files Browse the repository at this point in the history
  • Loading branch information
deining committed Mar 2, 2023
1 parent c3df161 commit b37da6f
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 @@ -97,5 +97,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 b37da6f

Please sign in to comment.