Skip to content

Commit

Permalink
fix: format diagram by adding tab at the beginning of newline
Browse files Browse the repository at this point in the history
  • Loading branch information
razonyang committed Jul 1, 2024
1 parent 1c0a891 commit 8913978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/_default/_markup/render-codeblock-mermaid.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ .Page.Store.Set "hasMermaid" true -}}
<pre class="mermaid">
{{- .Inner -}}
{{ .Inner | replaceRE "\n" "\n\t" }}
</pre>

0 comments on commit 8913978

Please sign in to comment.