Closed edemaine closed 2 years ago
I'm guessing this is from the new regexes: in dollars mode, $$x^2$$ omits the 2 when calling KaTeX, so doesn't render.
dollars
$$x^2$$
2
It looks like /\${2}([^]*?)[^\\]\${2}/gy should be /\${2}([^]*?[^\\])\${2}/gy.
/\${2}([^]*?)[^\\]\${2}/gy
/\${2}([^]*?[^\\])\${2}/gy
Maybe worth double-checking the other regexes.
good catch ... copy/paste to wrong position ... fixed with version 0.9.6
other regexes checked.
thanks
Thanks! It works great now.
I'm guessing this is from the new regexes: in
dollars
mode,$$x^2$$
omits the2
when calling KaTeX, so doesn't render.It looks like
/\${2}([^]*?)[^\\]\${2}/gy
should be/\${2}([^]*?[^\\])\${2}/gy
.Maybe worth double-checking the other regexes.