1

Just seen this:

enter image description here

No amount of adding or removing whitespace or text around that point fixed the preview. (The server side rendering worked.)

In this answer.

2

The issue is not the markdown rendering, it is a bug in the post text.

The post contains a </pre> too much, which breaks the preview.

<pre>

^\d+(\.\d+)+$
    ^\d+(\.\d+)+$
</pre>


should work.
</pre>

With a little luck, the actual post doesn't show the missing line break, but the actual problem is the pre.

I updated the post and it shows fine now.

  • After a while all those tags just blend in to each other :-) – Richard Jul 27 '15 at 9:58
  • Indeed. I always wonder why people use pre while you have markdown... – Patrick Hofman Jul 27 '15 at 9:58
  • For me often because the normal code markup will apply syntax highlighting (and, as in the case, remembering the right magic to switch it off would take longer than adding the tags). – Richard Jul 27 '15 at 10:00
  • @Richard that might be true. Then we should fix that. – Patrick Hofman Jul 27 '15 at 10:01
  • @PatrickHofman I use pre for code blocks following a list (in cases where the rendering is otherwise broken). – DavidPostill Jul 27 '15 at 12:36
  • @DavidPostill I guess you mean that you need 8 spaces for code blocks instead of 4? – Patrick Hofman Jul 27 '15 at 12:37
  • @PatrickHofman I wasn't thing of that one (but your right). I don't need it very often, from memory it's when the code block contains html? or at least < characters? Anyway some character of other does not display in the code block. – DavidPostill Jul 27 '15 at 12:40

You must log in to answer this question.

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