Add Lotusdocs theme
This commit is contained in:
8
themes/lotusdocs/layouts/shortcodes/katex.html
Normal file
8
themes/lotusdocs/layouts/shortcodes/katex.html
Normal file
@@ -0,0 +1,8 @@
|
||||
{{- $inner := trim .Inner "\r\n" }}
|
||||
{{- if hasPrefix $inner "$$" }}
|
||||
<div class="equation leqno" >
|
||||
{{- $inner }}
|
||||
</div>
|
||||
{{- else }}
|
||||
{{- $inner }}
|
||||
{{- end }}
|
||||
Reference in New Issue
Block a user