I just tried to correct the R data.frame output formatting in a question. The markdown looked right: 4 spaces in for each line and a code block appeared. It all looked correct in the preview. However on the final site, both when it was at stats.stackexchange and now it's in overflow, the code lines are visually out of joint.

The question is here. Press 'edit' to see what it looks like in preview.

Is this just me, or is there a problem with the markdown plugin, or perhaps an awkward interaction with R's dollars and dots? Is there a work-around? It's the second time I've seen this in a few days.

  • $\begingroup$ Same for me, on several other occasions! It looks like there's a conflict with $ (parsed as $\LaTeX$ or whatever). $\endgroup$ – chl Mar 26 '12 at 14:20
  • 1
    $\begingroup$ that is somehow avoided on the preview page... $\endgroup$ – conjugateprior Mar 26 '12 at 14:26

This is due to mathjax parsing - $ is a special delimiter. It appears to be fixed in the second revision of this post.

  • $\begingroup$ Thank you, Geoff. (And thanks to the SE team.) $\endgroup$ – whuber Mar 29 '12 at 23:39
  • 3
    $\begingroup$ As you say, it is now fixed. This implies is was not status-bydesign $\endgroup$ – conjugateprior Mar 30 '12 at 7:56

You must log in to answer this question.

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