Update docs for v0.141.0

Closes #2808
This commit is contained in:
Joe Mooring authored and Bjørn Erik Pedersen committed 2025-01-16 14:51:03 +01:00
1 parent a0a442d621
commit 575d603450
30 files changed
+787 -932

No files matched your search

+2 -2
View File
@@ -97,11 +97,11 @@ There are 3 ways to handle errors from KaTeX:
1. Set the `throwOnError` option to `false` to make KaTeX render the expression as an error instead of throwing an error. See [options](#options).
{{< code file=layouts/_default/_markup/render-passthrough-inline.html copy=true >}}
{{ with transform.ToMath .Inner }}
{{ with try (transform.ToMath .Inner) }}
{{ with .Err }}
{{ errorf "Failed to render KaTeX: %q. See %s" . $.Position }}
{{ else }}
{{ . }}
{{ .Value }}
{{ end }}
{{ end }}
{{- /* chomp trailing newline */ -}}