mirror of
https://github.com/oobabooga/text-generation-webui.git
synced 2026-01-31 12:54:33 +01:00
UI: add back single $ for equations
This commit is contained in:
parent
f32d26240d
commit
6bab4c2faa
|
|
@ -213,6 +213,7 @@ function doSyntaxHighlighting() {
|
|||
renderMathInElement(element, {
|
||||
delimiters: [
|
||||
{ left: "$$", right: "$$", display: true },
|
||||
{ left: "$", right: "$", display: false },
|
||||
{ left: "\\(", right: "\\)", display: false },
|
||||
{ left: "\\[", right: "\\]", display: true },
|
||||
],
|
||||
|
|
|
|||
Loading…
Reference in a new issue