{{- if not (.Page.Scratch.Get "katex") -}} {{- .Page.Scratch.Set "katex" true -}} {{- end -}} {{ with .Get "display" }}\[{{else}}\({{end}} {{- .InnerDeindent -}} {{ with .Get "display" }}\]{{else}}\){{end}}