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?
> Some markdown flavors for example use \(\), which is probably the worst of them to use.
Some markdown flavors say they use `\(\)` but they also use `\` as the escape character, so in practice you have to use `\\(\\)` which is definitely the worst.
Wrong. As the article states, MathJax has nothing to do with Markdown. Never did. For that matter, neither did KaTeX. It just inteprets text some grammar parser delivers to it and delivers MathML.
The embrace and extend problem appears when you incorporate LaTeX’s grammar into Markdown.
there is absolutely no specification. one who thinks there is has no idea what such words actually mean. thousands have burned their brains on this question
Its good they cancelled this thread. In fact I read the post, which shows you are completely ignorant of the history of markdowns and the various basically scientific problems they have posed. Thus e.g. commonmark, the basis of gfm, was devised in consortium between github, pandoc (whose author composed the specification) and assorted other well known markdowns.
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
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.
It is used almost entirely with gfm, the operation of gfm was in consultation. it was in this connection that the commonmark specification was formulated.
The pandoc repository[1] has nearly 45k stars and 4k forks. It's embedded in Jupyter notebooks, which are used by data scientists the world over. The python wrapper for pandoc has 16 million downloads[2].
But maybe that's insufficient. Hugo[2], one of the most widespread static site generators in existence, supports Pandoc markdown flavors as well as general GFM.[3]
They are not supported by GitHub’s GFM, and you are being incredibly bad faith about this fact.
If you are comfortable calling Markdown a futile exercise in avoiding proprietary control of a universal, simple document format for wide interoperability across natural languages, programming languages, and monopoly interests, then you and I are Microsoft vs Sun over Java in the 1990s.
The original Gruber-Shwartz format, which is in fact fundamentally a perl program attached to a brief expression of its intention, is not used by anyone except those who still use the perl program. Every other implementation avoids thousands of corner cases present in the perl, while of course producing its own.
The spec is the commonmark spec together with extensions of the type the commonmark spec was devised to make possible. People know better than to leave such a 'language' with a 'spec' that only really resides in a perl program, of all things. There are lists upon lists upon lists of corner cases the the perl does differently from every other program that, in the first years, reimplemented it. All of them show the perl does not meet the intention.
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?
reply