-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
As discussed in https://johnmacfarlane.net/beyond-markdown.html (the creator of Markdown)
- There should be one clear way of doing things, fenced code block are already the primary way of adding a code block
- explicit is better than implicit, fenced code blocks provide a much more explicit indication of the code block
- indented code block enforce a lot of technical limitations for the syntax/parser
As an example, you can look at https://markdown-it.github.io/ compared to https://djot.net/playground/ (a proposed successor to commonmark).
In djot it is perfectly fine to indent syntax blocks with any number of spaces, without having it become a code block
::::admonition
:::admonition
s
:::
::::
This would be a breaking change from CommonMark, but one that should be possible
Metadata
Metadata
Assignees
Labels
No labels