Strange rant. From a user perspective, it is very handy to have a very simple text format in which you can occasionally insert complex mathematical expressions. And at the same time, it's perfectly okay for most implementations to NOT support this syntax
Feels like a weird hill to die on. I don't think I've had a single issue with single dollar signs being math block boundaries. It's also weird to say that Github is the one who invented this or that it was a malicious choice, when it's clearly MathJax, which is far from being "antiquated ugly crapware". It is still used by Wikipedia, most scientific websites, etc. Yes, KaTeX may have advantages, but MathJax is very much alive.
There is a myriad of different software which uses different math delimeters. Some markdown flavors for example use \(\), which is probably the worst of them to use. Is that also malicious?
A much better rant about math syntax in Markdown would be that all flavours still use the LaTeX syntax instead of the very obviously superior Typst one. If you think not embracing Katex instead of Mathjax early enough is a malicious choice, then is this one malicious as well?
Pandoc’s specific markdown has had these for 20 years. They are from latex itself not mathjax.
You’d think the list would have talked him out of it if it was a problem.
What legit use of $ as ‘dollar’ is missed by this spec?
> 8.13.1 Extension: tex_math_dollars
> Anything between two $ characters will be treated as TeX math. The opening $ must have a non-space character immediately to its right, while the closing $ must have a non-space character immediately to its left, and must not be followed immediately by a digit. Thus, $20,000 and $30,000 won’t parse as math. If for some reason you need to enclose text in literal $ characters, backslash-escape them and they won’t be treated as math delimiters.
4 comments
[ 2.7 ms ] story [ 22.1 ms ] threadThere is a myriad of different software which uses different math delimeters. Some markdown flavors for example use \(\), which is probably the worst of them to use. Is that also malicious?
A much better rant about math syntax in Markdown would be that all flavours still use the LaTeX syntax instead of the very obviously superior Typst one. If you think not embracing Katex instead of Mathjax early enough is a malicious choice, then is this one malicious as well?
> 8.13.1 Extension: tex_math_dollars
> Anything between two $ characters will be treated as TeX math. The opening $ must have a non-space character immediately to its right, while the closing $ must have a non-space character immediately to its left, and must not be followed immediately by a digit. Thus, $20,000 and $30,000 won’t parse as math. If for some reason you need to enclose text in literal $ characters, backslash-escape them and they won’t be treated as math delimiters.