LaTeX formatting
This commit is contained in:
parent
50cd0bfcc5
commit
4fc5941481
1 changed files with 6 additions and 0 deletions
6
layouts/_default/_markup/render-passthrough.html
Normal file
6
layouts/_default/_markup/render-passthrough.html
Normal 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 }}
|
Loading…
Reference in a new issue