From 4fc5941481ee92bf9e463cac96457f7a4c0030e9 Mon Sep 17 00:00:00 2001 From: aethrvmn Date: Sun, 10 Nov 2024 19:28:23 +0100 Subject: [PATCH] LaTeX formatting --- layouts/_default/_markup/render-passthrough.html | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 layouts/_default/_markup/render-passthrough.html diff --git a/layouts/_default/_markup/render-passthrough.html b/layouts/_default/_markup/render-passthrough.html new file mode 100644 index 0000000..b4021f9 --- /dev/null +++ b/layouts/_default/_markup/render-passthrough.html @@ -0,0 +1,6 @@ +{{ if eq .Type "block" }} + {{ $opts := dict "displayMode" true }} + {{ transform.ToMath .Inner $opts }} +{{ else }} + {{ transform.ToMath .Inner }} +{{ end }}