Commit ac2e38d
Allow a body heading alongside the front matter title in the markdown linter config
Set MD025 front_matter_title to an empty pattern so a front matter title:
is no longer counted as the document's top-level heading. Pages can now
carry both the front matter title MkDocs uses for navigation and the body
heading that renders on github.com.
An empty pattern is used rather than disabling MD025, so the rule still
reports a genuinely duplicated top-level heading. Converges with the same
setting in MSXOrg/docs.
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>1 parent aa0d124 commit ac2e38d
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
17 | 19 | | |
18 | 20 | | |
19 | 21 | | |
| |||
0 commit comments