You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex for dollar delimiters breaks if the content includes an escaped dollar (\$), making it impossible to type dollar literals inside math blocks:
$$
\$10.00
$$
$\$10.00$
will all fail to be parsed as a latex block.
Workarounds include using a different delimiter style or use \text{\textdollar}, but getting it to work without these would be nice.
I've been to update the math_block regex from:
/\${2}([^$]+?)\${2}/gmy to
/\${2}((?:\\\$|[^$])+?)\${2}/gmy
but it doesn't cover all cases, and I haven't been able to figure out where to start with the math_inline regex.