Update documentation for MD023/heading-start-left to include "indented" example within block quote (fixes #1009).

This commit is contained in:
David Anson 2023-10-23 20:37:38 -07:00
parent 1ef90f4214
commit 5950e4481a
3 changed files with 21 additions and 0 deletions

View file

@ -875,6 +875,13 @@ Some text
# Heading
```
Note that scenarios like block quotes "indent" the start of the line, so the
following is also correct:
```markdown
> # Heading in Block Quote
```
Rationale: Headings that don't start at the beginning of the line will not be
parsed as headings, and will instead appear as regular text.