Open
Description
Describe your proposed improvement and the problem it solves.
Typst has a math syntax similar to Tex, but with one caveat:
There MUST be atleast one whitespace between the dollar signs and the content, according to the documentation:
They will be typeset into their own block if they start and end with at least one space 1
Thus, tex_math_dollars
sadly does not work in this instance. Adding something like typst_math_dollars
would allow to use the native syntax without fencing.
Describe alternatives you've considered.
The fencing to include it as raw Typst in Markdown works too, but requires additional overhead.
I furthermore looked into external pre-/post-processing and Lua filters, but it's not my preferred variant.