[GH-ISSUE #63] frontmatter should support TOML in addition to YAML #52

Closed
opened 2026-03-03 01:23:20 +03:00 by kerem · 1 comment
Owner

Originally created by @terinjokes on GitHub (Jun 20, 2017).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/63

Some blogging engines, such as hugo, support TOML in their frontmatter. However, MD041 only support detecting properties in YAML frontmatter.

+++
title = "Example Title"
date = "2017-06-18T00:00:00Z"
+++
Originally created by @terinjokes on GitHub (Jun 20, 2017). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/63 Some blogging engines, such as hugo, support TOML in their frontmatter. However, MD041 only support detecting properties in YAML frontmatter. ```markdown +++ title = "Example Title" date = "2017-06-18T00:00:00Z" +++ ```
kerem 2026-03-03 01:23:20 +03:00
Author
Owner

@DavidAnson commented on GitHub (Jun 20, 2017):

Custom front matter is already supported: https://github.com/DavidAnson/markdownlint/blob/master/README.md#optionsfrontmatter

But TOML looks similar enough to YAML that I might as well support it natively.

<!-- gh-comment-id:309612899 --> @DavidAnson commented on GitHub (Jun 20, 2017): Custom front matter is already supported: https://github.com/DavidAnson/markdownlint/blob/master/README.md#optionsfrontmatter But TOML looks similar enough to YAML that I might as well support it natively.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/markdownlint#52
No description provided.