Skip to content

Instantly share code, notes, and snippets.

@DLu
Created June 16, 2022 19:34
Show Gist options
  • Save DLu/2da201d4135e0d74f552b9b729fa024e to your computer and use it in GitHub Desktop.
Save DLu/2da201d4135e0d74f552b9b729fa024e to your computer and use it in GitHub Desktop.

A puzzling MathJax x Github bug

Markdown in question

A $B$ C $(D)$

renders as

A $B$ C $(D)$

Variations

Oddly, if you leave out A B or C, it works fine

  • $B$ C $(D)$
  • A C $(D)$
  • A $B$ $(D)$

Other examples

  • A $B$ C $D)$
  • A $B$ C $(D$
  • A $B$ C $D$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment