UI: prevent LaTeX from being rendered for inline "$"

This commit is contained in:
oobabooga 2024-07-23 19:04:19 -07:00
parent 1815877061
commit e777b73349

View File

@ -213,12 +213,10 @@ function doSyntaxHighlighting() {
renderMathInElement(element, {
delimiters: [
{ left: "$$", right: "$$", display: true },
{ left: "$", right: "$", display: false },
{ left: "\\(", right: "\\)", display: false },
{ left: "\\[", right: "\\]", display: true },
],
});
});
observer.observe(targetElement, config);