{{ with try (transform.ToMath .Inner (dict "displayMode" true)) }} {{ with .Err }} {{ errorf "Failed to render KaTeX: %q. See %s" . $.Position }} {{ else }} {{ if $.Attributes.class }}