Hugo-based levitation.wales initial commit
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
{{- /* Render $...$ and $$...$$ math to native MathML via Hugo's built-in KaTeX.
|
||||
No JavaScript or CDN dependency. */ -}}
|
||||
{{- $opts := dict "output" "mathml" -}}
|
||||
{{- if eq .Type "block" -}}
|
||||
{{- $opts = merge $opts (dict "displayMode" true) -}}
|
||||
{{- end -}}
|
||||
{{- transform.ToMath .Inner $opts -}}
|
||||
Reference in New Issue
Block a user