content: Update transform.ToMath

Document the "warn" setting for the "strict" option.
This commit is contained in:
Joe Mooring 2025-05-30 09:21:00 -07:00 committed by Bjørn Erik Pedersen
parent ad7b87223e
commit c4962f1ace

View File

@ -69,10 +69,9 @@ strict
: {{< new-in 0.147.6 />}}
: (`string`) Controls how KaTeX handles LaTeX features that offer convenience but aren't officially supported, either `error` or `ignore`. Default is `error`.
- `error`: Throws an error when convenient, unsupported LaTeX features
are encountered.
- `ignore`: Allows convenient, unsupported LaTeX features without any
feedback.
- `error`: Throws an error when convenient, unsupported LaTeX features are encountered.
- `ignore`: Allows convenient, unsupported LaTeX features without any feedback.
- `warn`: {{< new-in 0.147.7 />}} Emits a warning when convenient, unsupported LaTeX features are encountered.
: The `newLineInDisplayMode` error code, which flags the use of `\\`
or `\newline` in display mode outside an array or tabular environment, is