UI: add back single $ for equations

This commit is contained in:
oobabooga 2024-07-26 23:03:53 -07:00
parent f32d26240d
commit 6bab4c2faa

View File

@ -213,6 +213,7 @@ function doSyntaxHighlighting() {
renderMathInElement(element, { renderMathInElement(element, {
delimiters: [ delimiters: [
{ left: "$$", right: "$$", display: true }, { left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false }, { left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true }, { left: "\\[", right: "\\]", display: true },
], ],