mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-07 04:08:43 +00:00
feat: Set Auto-render to recognize AMS environments without $$…$$ delimiters. (#2701)
* feat: Set Auto-render to recognize AMS environments without $$…$$ delimiters. * Replace tab with spaces * Treat AMS environments correctly.
This commit is contained in:
@@ -84,6 +84,10 @@ in addition to two auto-render-specific keys:
|
||||
[
|
||||
{left: "$$", right: "$$", display: true},
|
||||
{left: "\\(", right: "\\)", display: false},
|
||||
{left: "\\begin{equation}", right: "\\end{equation}", display: true},
|
||||
{left: "\\begin{align}", right: "\\end{align}", display: true},
|
||||
{left: "\\begin{alignat}", right: "\\end{alignat}", display: true},
|
||||
{left: "\\begin{gather}", right: "\\end{gather}", display: true},
|
||||
{left: "\\[", right: "\\]", display: true}
|
||||
]
|
||||
```
|
||||
|
Reference in New Issue
Block a user