mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-05 11:18:39 +00:00
Fix \hphantom width (#1809)
* Fix \hphantom width * Spin up phony screenshot test * Make better choice of smash screenshot test * Real screenshotter test * Add strict mode * Fix lint error * useStrictBehavior * Revert to previous strict setting * useStrictBehavior "phantomSpacing" * Fix tests via nonstrictSettings * Fix documentation * Remove bin|rel
This commit is contained in:
@@ -21,6 +21,7 @@ You can provide an object of options as the last argument to [`katex.render` and
|
||||
- `"commentAtEnd"`: Use of `%` comment without a terminating newline.
|
||||
LaTeX would thereby comment out the end of math mode (e.g. `$`),
|
||||
causing an error.
|
||||
|
||||
A second category of `errorCode`s never throw errors, but their strictness
|
||||
affects the behavior of KaTeX:
|
||||
- `"newLineInDisplayMode"`: Use of `\\` or `\newline` in display mode
|
||||
|
Reference in New Issue
Block a user