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.

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

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

  • Thank you, Geoff. (And thanks to the SE team.) – whuber Mar 29 '12 at 23:39
  • 3
    As you say, it is now fixed. This implies is was not status-bydesign – 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 .