What is wrong with the markdown prettifier here?

opts = {
   "$dollar$" :> "$",
   "$percent$" :> "%",

Just to clarify the issue only appears on mathematica.stackexchange like it does here.

  • Not broken. It is an intentional bug because $ opens a LaTeX cell and even if you are in a code-block, it still leads to the undesired behavior you see.
    – halirutan Mod
    Commented Sep 11, 2015 at 2:14
  • 1
    @halirutan should I change it to discussion? IMO it a bug though.
    – William
    Commented Sep 11, 2015 at 2:35
  • 2
    I believe your post is a duplicate of my own: (529) -- please review and confirm or disagree.
    – Mr.Wizard
    Commented Sep 11, 2015 at 8:37
  • It is not hard to edit the markdown in your posted answer to align the code nicely. I have done it for a few misaligned items in your answer to demonstrate how it is done. I didn't do a complete edit because it make your link unintelligible.
    – m_goldberg
    Commented Sep 11, 2015 at 11:43


Browse other questions tagged .