Skip to content

Rule Change: Add frontmatterTitle option to heading-increment #443

Open
@xbinaryx

Description

@xbinaryx

What rule do you want to change?

heading-increment

What change do you want to make?

Generate more warnings

How do you think the change should be implemented?

A new option

Example code

---
title: "level 1"
---

### level 3

What does the rule currently do for this code?

No error is reported.

What will the rule do after it's changed?

The rule will treat the front matter title as a level 1 heading, so it will report an error for skipping heading levels (jumping from 1 to 3).

Participation

  • I am willing to submit a pull request to implement this change.

Additional comments

See MD001

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Feedback Needed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions