mirror of
https://github.com/xoofx/markdig.git
synced 2026-02-07 13:57:13 +00:00
Enable YamlFrontMatterExtension will break the heading Hr #151
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 @yishengjin1413 on GitHub (Nov 2, 2017).
The heading Hr will not work after enable YamlFrontMatterExtension . There is an example here:
@xoofx commented on GitHub (Nov 9, 2017):
Hm, I'm failing to reproduce your issue.
For example the following markdown:
will correctly remove the frontmatter and output a hr (the one after the "This is a heading")
The YamlFrontMatter extension expect the document to start with a leading
---. It is not intended to be used if you don't expect a YamlFrontMatter... or am I missing something?@yishengjin1413 commented on GitHub (Nov 14, 2017):
@xoofx , the issue is when the whole markdown is :
Expect it's rendered to HR + paragraph, actually it's empty, since it rendered as YamlFronMatter.
@xoofx commented on GitHub (Nov 18, 2017):
Fixed by commit
fbdb8cf