mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2026-02-28 15:54:06 +01:00
Update MD041/first-line-h1 to allow secondary headings if a YAML title is present (refs #116).
This commit is contained in:
parent
ed295cd947
commit
c71bb4fbd5
4 changed files with 46 additions and 27 deletions
9
test/front-matter-title-h2.md
Normal file
9
test/front-matter-title-h2.md
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
---
|
||||
layout: post
|
||||
title: "Welcome to Jekyll!"
|
||||
date: 2015-11-17 16:16:01 -0600
|
||||
categories: jekyll update
|
||||
---
|
||||
## Secondary heading
|
||||
|
||||
Front matter from [Jekyll documentation](https://jekyllrb.com/docs/posts/#a-typical-post).
|
||||
Loading…
Add table
Add a link
Reference in a new issue