mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-16 21:53:36 +00:00
Setext headings in blockquotes #395
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @hamvocke on GitHub (Aug 13, 2020).
There seems to be a problem with Setext headings used within blockquotes.
Take this markdown input:
Running this on babelmark shows that most renderers will generate a blockquote that contains a heading and a paragraph. Markdig, however, creates a blockquote that contains a paragraph, a horizontal rule and another paragraph.
The CommonMark spec is not absolutely explicit about this case but generally states that
---characters should be treated as a Setext heading if they can be interpreted that way.Is this something that should be fixed in Markdig to be closer to what other Markdown renderers are doing?