5

In this answer (now fixed, see screenshot) code fences ``` are rendered like inline code. However, editing preview renders it correctly.

Source:

Killing all other node processes worked for me
ie.
```
ps -ef | grep node 
```
to find those process and 
...

Occurs in Firefox and Chromium on Ubuntu.

11
  • 4
    There needs to be blank line in front of a code fence to compensate for the slightly off differences between the client and server side common mark parser
    – rene
    Apr 14, 2021 at 21:44
  • 1
    Is it important enough to be mentioned in the Editing Help?
    – nik7
    Apr 14, 2021 at 22:24
  • 2
    I would rather have the parser fixed.
    – rene
    Apr 14, 2021 at 22:27
  • 1
    @rene - in 6-8 weeks perhaps? Given how unkeen SE seems to be of late to make substantial changes to the public platform, it might not be a bad idea to ask for the formatting help wording to be amended Apr 15, 2021 at 3:49
  • 1
    @OlegValter IIRC both the client and server render are open-source projects from other maintainers. I'm not sure if this is a problem caused by the SE implementation or an upstream bug. In the latter case we can only hope someone has the bug reported there and have it fixed for a major release. It becomes a bit like the situation we had with Google Prettify ...
    – rene
    Apr 15, 2021 at 6:22
  • @rene - do you know which one this is? I can take a look, but to my shame, I am not entirely familiar with the software that powers StackExchange itself frontend-wise (apart from knowing that there is a Stacks project that encompasses the frontend components) Apr 15, 2021 at 8:59
  • 2
    @OlegValter from: meta.stackexchange.com/questions/348746/… "For the curious: this means we’re replacing PageDown with markdown-it on the client side and MarkdownSharp with markdig on the server side."
    – Luuklag
    Apr 15, 2021 at 13:16
  • 1
    @Luuklag ah, this one slipped my mind, was even bookmarked, thanks! Apr 15, 2021 at 13:45
  • @Yatin Already mentioned by Bill Tür. Is there any way to fix this bug without microscopic edits of each affected post?
    – nik7
    Apr 15, 2021 at 20:31
  • @nik7 nope, I am not aware of any other way. I am >2k so my edits apply immediately. so if the post has nothing to correct then I just add and remove some random text and leave an explanation in the edit history (like a link to a meta post). Apr 16, 2021 at 2:12

0

Browse other questions tagged .