markup icon indicating copy to clipboard operation
markup copied to clipboard

Since when did GitHub Markdown stop supporting MathJax?

Open seanswyi opened this issue 4 years ago • 3 comments

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.

seanswyi avatar Jul 25 '20 02:07 seanswyi

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.

Alhadis avatar May 09 '21 12:05 Alhadis

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

tjmcewan avatar Jul 08 '22 14:07 tjmcewan

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

edemaine avatar Jul 08 '22 14:07 edemaine