YAML front matter #41

Open
opened 2026-01-29 14:22:38 +00:00 by claunia · 0 comments
Owner

Originally created by @mcnameej on GitHub (Jul 14, 2016).

Enhancement request

Add support for YAML front matter.

The immediate need is for markdig to recognize and ignore any front matter. Don't try to parse it as Markdown text. Perhaps in the future markdig may find some use for the data.

If you can provide some hints about where this would need to happen in the markdig code, I might be able to add it myself and submit a PR.

(For what it's worth, I'm no fan of YAML, but it seems to be the most common way of adding metadata to Markdown files.)

Originally created by @mcnameej on GitHub (Jul 14, 2016). ### Enhancement request Add support for YAML front matter. The immediate need is for markdig to recognize and ignore any front matter. Don't try to parse it as Markdown text. Perhaps in the future markdig may find some use for the data. If you can provide some hints about where this would need to happen in the markdig code, I might be able to add it myself and submit a PR. (For what it's worth, I'm no fan of YAML, but it seems to be the most common way of adding metadata to Markdown files.)
claunia added the enhancement label 2026-01-29 14:22:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/markdig#41