13 points · by joesuf4 · 6mo ago · 37 comments
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 say they use `\(\)` but they also use `\` as the escape character, so in practice you have to use `\\(\\)` which is definitely the worst.
Using a single-dollar is asinine.
The embrace and extend problem appears when you incorporate LaTeX’s grammar into Markdown.
GFM is a spec, not a vendor format.
Learn the difference by dealing with substance, not personability.
> 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.
Swiss-army knife of markup format conversion
Installed (on request)
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/...
License: GPL-2.0-or-later
==> Installed Kegs and Versions
pandoc 3.9.0.2 (11 files, 274.7MB) [Linked]
==> Dependencies
Required (1): gmp
Recursive Runtime (1): all installed
==> Analytics
install: 31,898 (30 days), 119,598 (90 days), 369,388 (365 days)
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].
[1]: https://github.com/jgm/pandoc [2]: https://pypi.org/project/pandoc/
Next?
But you know what’s best.