Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow YAML front matter in the middle of the document #701

Merged
merged 1 commit into from
Feb 26, 2023

Conversation

yufeih
Copy link
Contributor

@yufeih yufeih commented Feb 23, 2023

This PR enables customizing the YAML front matter extension to allow it to appear in the middle of the markdown file.

The docfx overwrite file feature leverage this feature to embed multiple YAML fragments in the same markdown file. With this change, docfx can be fully migrated to markdig.

Fixes: dotnet/docfx#8441

@coveralls
Copy link

coveralls commented Feb 23, 2023

Pull Request Test Coverage Report for Build 4252961669

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 11 of 11 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.002%) to 93.295%

Totals Coverage Status
Change from base Build 4191078997: 0.002%
Covered Lines: 25932
Relevant Lines: 27187

💛 - Coveralls

@xoofx xoofx merged commit 0a16724 into xoofx:master Feb 26, 2023
@yufeih
Copy link
Contributor Author

yufeih commented Feb 27, 2023

Thank you for merging @xoofx !

@yufeih yufeih deleted the yufeih/yamlfrontmatter branch February 27, 2023 01:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] markdig doesn't handle overwrite files with multiple sections
3 participants