Obsidian markdown does not conform to CommonMark

Steps to reproduce

Type examples from the CommonMark spec, e.g. 250, 251, 112, 113, 116, 596

Did you follow the troubleshooting guide? [Y/N]

Yes

Expected result

Rendered markdown that conforms to the CommonMark specification and matches the examples’ expected output

Actual result

Rendered text that does not match the specification

Additional information

For a qualitative idea of the error, (besides the list of wrong examples) I have noted the following issues so far:

  • Nested quotes do not behave lazily, only the outermost quote block does
  • Indented code blocks do not include spaces correctly
  • autolinks are not parsed
    There may be more, I have not exhaustively looked through the spec examples, nor the Github markdown spec.

Please include the “debug info” output as asked for in the BR template. Thanks.


I don’t have time to look all those up. If you want any traction on this, show specific examples in a code block and how those examples behave in Obsidian.

Hello,
it’s likely that bug reports/feature reports already exists for these.

Please, search for individual problems before posting and if don’t find a match open a new BR for each of them.

Also make sure to check in reading view, not just live preview, because it usually renders more accurately when they differ.

yep, noticed that and will check in the future