From 6bab4c2faad9f67154449b850576fed266e6b026 Mon Sep 17 00:00:00 2001 From: oobabooga <112222186+oobabooga@users.noreply.github.com> Date: Fri, 26 Jul 2024 23:03:53 -0700 Subject: [PATCH] UI: add back single $ for equations --- js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/main.js b/js/main.js index d5287482..899bd8f0 100644 --- a/js/main.js +++ b/js/main.js @@ -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 }, ],