github / markup

Determines which markup library to use to render a content file (e.g. README) on GitHub
MIT License
5.86k stars 3.39k forks source link

Since when did GitHub Markdown stop supporting MathJax? #1371

Open seanswyi opened 4 years ago

seanswyi commented 4 years ago

Hi. The title is pretty much the question. I personally like using GitHub to keep notes and stuff since the Markdown rendering is fairly nice and even support(ed) math equations in MathJax.

However, I noticed that the rendering stopped and all of the equations I made now just look like "$x + y$' instead of the rendered version. I was wondering when this stopped being supported or if I'm just missing something?

Thanks.

Alhadis commented 3 years ago

In v4.0.0, the library used to render Markdown was switched to commonmarker/CommonMark from redcloth/sundown (the latter of which which hasn't been updated since 2012). This was a breaking change part of GitHub's move to the nascent CommonMark standard, which was part of a much larger effort to converge on a Markdown standard. Certain implementation-defined extensions—like MathJax—might've been dropped during the switch (see sundown's source-code if you want to confirm this yourself; I haven't checked).

Note that GitHub have retained a few extensions to their fork of CommonMark's reference implementation, but it's mostly just unexciting stuff llike task lists, \@mentions, HTML tag filters, and what-have-you.

tjmcewan commented 2 years ago

Presumably this can be closed now? https://github.blog/2022-05-19-math-support-in-markdown/

edemaine commented 2 years ago

Agreed. See https://nschloe.github.io/2022/05/20/math-on-github.html for a lot of issues with the new MathJax plugin, though.

github-actions[bot] commented 1 day ago

Stale issue message