[GH-ISSUE #1582] MD025 should support YAML meta block #2557

Closed
opened 2026-03-07 20:08:53 +03:00 by kerem · 1 comment
Owner

Originally created by @amithegde on GitHub (May 2, 2025).
Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1582

https://pandoc.org/MANUAL.html#extension-yaml_metadata_block

YAML meta block is used to provide additional metadata for the markdown document. For example

---
title: my title
author: my name
date: today
---

when there is a title metadata and # with title, MD025 triggers.

Originally created by @amithegde on GitHub (May 2, 2025). Original GitHub issue: https://github.com/DavidAnson/markdownlint/issues/1582 https://pandoc.org/MANUAL.html#extension-yaml_metadata_block YAML meta block is used to provide additional metadata for the markdown document. For example ``` --- title: my title author: my name date: today --- ``` when there is a `title` metadata and `#` with title, MD025 triggers.
kerem 2026-03-07 20:08:53 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@DavidAnson commented on GitHub (May 2, 2025):

This behavior is documented here: https://github.com/DavidAnson/markdownlint/blob/main/doc/md025.md

<!-- gh-comment-id:2846600403 --> @DavidAnson commented on GitHub (May 2, 2025): This behavior is documented here: https://github.com/DavidAnson/markdownlint/blob/main/doc/md025.md
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#2557
No description provided.