LaTeX formatting

This commit is contained in:
aethrvmn 2024-11-10 19:28:23 +01:00
parent 50cd0bfcc5
commit 4fc5941481

View file

@ -0,0 +1,6 @@
{{ if eq .Type "block" }}
{{ $opts := dict "displayMode" true }}
<span class="katex-display">{{ transform.ToMath .Inner $opts }}</span>
{{ else }}
{{ transform.ToMath .Inner }}
{{ end }}