CommonMark testing started here!

Per our migration plans, I just enabled markdown.it at Meta.

It is an excellent CommonMark compliant engine. I expect quite a few edges to be found during this period of testing.

Do not open bugs about the new Engine, just reply here.

I/we will be updating the top post here with the list of issues and striking out stuff as it is fixed.

Current known issues (to be fixed)

  • :white_check_mark: Onebox vanishes after you start typing and works not-super consistently

  • :white_check_mark: pending approval does not render

  • :white_check_mark: Quote without preceding empty line does not work.

  • :white_check_mark: Onebox of reply is missing tons of info and not rendering right

  • :white_check_mark: When quoting the composer sometimes inserts a quote block in the middle of a line (not a new bug but broken with new engine)

  • :white_check_mark: Onebox bypass is not working

  • :white_check_mark: Table is not showing up styled in preview

  • :white_check_mark: Details composer toolbar generating inline details

  • :white_check_mark: Emoji → Image conversion (when posing Emoji’s via a phone) is not implemented yet.

  • :white_check_mark: 2 polls in a post seems to be … not that good.

  • :white_check_mark: Sanitizer stripping out right align style for tables

  • :white_check_mark: Some BBCode is unimplemented: [email], [url], [code] and [img]

  • :white_check_mark: somelink - Just another link on the internet | somelink :arrow_backward: fails cause of the tag/category plugin

  • :white_check_mark: Mention after paragraph is strange

  • Can add any oneboxes after an IMG tag

  • :email, class_name: is not an emoji

  • https://medium.com/@nicksantos not autolinked

New features

Issues that will not be fixed

  • Mixing inline and multiline BBCode will no longer be supported.

  • Core will not implement [ul] [ol] and [li] support for BBCode cause it is a recipe for failure.

This topic is wiki, if you are TL3 or above feel free to clean it up.

32 Likes
Discourse CommonMark migration plans :confetti_ball: :balloon:
Emphasis links do not work
Only one heading in Markdown quote?
Text missing following fenced code block
Discourse Mangling Text in a Code Block
Preformatted text should show what I pasted
Markdown isn't parsing/displaying some content properly
Details markup not working correctly in messages
Spoiler with text on the same line as the tag no longer works
The Markdown parser fails to process the [[**text**]](url) expression
BBCode tags don't work accross multiple 'blocks'
Dropcaps in Discourse - cannot override span tag
Mini (Inline) Onebox Support RFC
Spoilers not working for external images
Is it necessary to rebake all posts during major version releases?
Migrate a vBulletin 4 forum to Discourse
Migrate a vBulletin 4 forum to Discourse
'undefined' appearing in quotes inside [quote]s
Text disappearing between breakline/heading and quote
Unexpected removal of text in markdown conversion
Embedding backticks twice collapses whitespace
Markdown link not parsed when prepended with `[Text] `
Fenced codeblocks with extra spaces at the end don't work?
Unable to create poll when the last poll option starts with hashtag
Link consumes first character that follows
Bold and Italic in Chinese
Display of images in links break if they contain parenthesis
Post text does not render (firstBlock.shift is not a function)
Newlines at the end of list items should not yield <br>s
Markdown quote requires blank line to end quote
\\\1 In Code Block Fails
Post editor; Heading not working for less than 3 charactors
Censored words out of a URL
A comma followed by an underscore in a URL results in defunct link
Discourse doesn't follow the CommonMark spec for HTML <pre> tags inside code spans
Preformatted text not allowing characters
Indenting of code blocks is incorrect when close to text
In bulleted list of mentioned tags, last tag is not formatted correctly as a link
Improve numbered lists
URL auto-linking doesn't hyperlink if open paren precedes the protocol
Odd markdown results - unexpected whitespace removal