The discussion addresses an issue where fenced codeblocks with extra spaces at the end fail to render properly in Discourse. kuba-orlik initially reported the problem, noting that newlines were not preserved in their code block. gkln suggested using proper backticks, but kuba-orlik clarified they were already using them. cpradio identified the issue as extra spaces after the closing backticks, which kuba-orlik confirmed resolved the problem. cpradio and eviltrout explained that Discourse does not yet use CommonMark, so such issues may resolve when it transitions to CommonMark. sam confirmed the issue was fixed after rebaking the post.
Discourse isn’t using CommonMark yet (to my knowledge) so if it works at commonmark.js demo, when Discourse switches to CommonMark, it should resolve itself.
Yes I can confirm we’re note on CommonMark yet. In 1.6 I did a lot of work to convert our existing markdown to ES6 so that we could try plugging in a different engine and see how well it works.