From c4962f1ace25489379085d25d2d1b933ad83d30b Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Fri, 30 May 2025 09:21:00 -0700 Subject: [PATCH] content: Update transform.ToMath Document the "warn" setting for the "strict" option. --- content/en/functions/transform/ToMath.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/content/en/functions/transform/ToMath.md b/content/en/functions/transform/ToMath.md index 0b724969d..3b34454f9 100644 --- a/content/en/functions/transform/ToMath.md +++ b/content/en/functions/transform/ToMath.md @@ -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