[PR #701] Allow YAML front matter in the middle of the document #1192

Closed
opened 2026-01-29 14:51:10 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/xoofx/markdig/pull/701

State: closed
Merged: Yes


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: https://github.com/dotnet/docfx/issues/8441

**Original Pull Request:** https://github.com/xoofx/markdig/pull/701 **State:** closed **Merged:** Yes --- This PR enables customizing the YAML front matter extension to allow it to appear in the middle of the markdown file. The [docfx](https://github.com/dotnet/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: https://github.com/dotnet/docfx/issues/8441
claunia added the pull-request label 2026-01-29 14:51:10 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#1192