5

I came across this answer and noticed its main code block was rendering a bit funny. I assumed this was something wrong with the answer I could edit to fix up.

normal view

However after clicking Edit, it looks fine in the editor preview without any changes.

edit view

What's going on here and what should I do?

3
  • It renders correctly when intending with four spaces. No clue though why it doesn't with fences.
    – BDL
    Sep 30, 2020 at 6:18
  • 5
    That answer was posted before code fences were added (in early 2019), so likely the rendered output was simply cached, which would explain why it worked in the preview.
    – TiiJ7
    Sep 30, 2020 at 6:53
  • 1
    @TiiJ7 Yep, seems to be the case. I re-edited it and it renders correctly with fences now.
    – 41686d6564
    Sep 30, 2020 at 6:58

0

You must log in to answer this question.

Browse other questions tagged .