The following Markdown code is mis-typeset on the main site:

$\epsilon$ is $2^{-52}$.

The key conditions seem to be a $ in the URL followed by two math modes in the same paragraph. It doesn't seem to matter whether the math is inline or displayed, enclosed in $ or $$, respectively.

Do others have this problem?

(I'm using Safari Version 10.0.3 (11602.

  • It's a known problem with MathJax. Let me search the older post about it..
    – halirutan Mod
    Commented Mar 5, 2017 at 18:37
  • Well, I'm not sure this is known. I tagged it as a bug and I should probably report the other issue as well.
    – halirutan Mod
    Commented Mar 5, 2017 at 18:48
  • Related: meta.mathematica.stackexchange.com/q/529/121
    – Mr.Wizard
    Commented Mar 5, 2017 at 18:51
  • Can you reproduce the issue with the broken preview? The code is Import["http://halirutan.github.io/Mathematica-SE-Tools/decode.m"]["https://i.sstatic.net/a9v8Y.png"]. @Mr.Wizard Should I include my answer in the question?
    – halirutan Mod
    Commented Mar 5, 2017 at 18:57
  • @halirutan It seems to format properly in Safari: i.sstatic.net/gTAyy.png
    – Michael E2
    Commented Mar 5, 2017 at 19:19
  • Another incarnation of this bug: A link with a dollar sign in the url followed by A code block with an explicit dollar sign: $. Appeared in e.g. rev 4 of this answer. (Kindly ignore my mucking up of the edit history while I tried to fix/track this bug...)
    – jjc385
    Commented Apr 4, 2018 at 17:16

3 Answers 3


Another workaround is to encode the "$" as "%24" in the URL:

$\epsilon$ is $2^{-52}$.

This seems to be a work-around.

[image follows]


[end image]


For one we have this old question of mine which seemed fixed. Then, we have an issue with dollar signs in code blocks that can sometimes to solved by additionally indenting the block. Other than that, I have issues when my code-blocks contain dollar signs (this is only a sample code..):


This is annoying too since I finally moved to use dollar-variables like WReach does. For answers, I now have to rewrite every code or fall back to my old habit of not using dollar signs at all :(

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .