Change "header" to "heading" across the library

This should be backward compatible, as all "header" aliases are still
available, though documented as discouraged for future use.
This commit is contained in:
Milos Levacic 2018-03-19 23:39:42 +01:00 committed by David Anson
parent e938f421a9
commit 45424cf459
148 changed files with 861 additions and 699 deletions

View file

@ -0,0 +1,20 @@
Some text
# Heading 1 {MD023}
Setext style fully indented {MD023}
===================================
Setext style title only indented {MD023}
=========================================
* Test situations in which MD023 shouldn't be triggered.
```rb
# This shouldn't trigger MD023 as it is a code comment.
foo = "And here is some code"
```
* This is another case where MD023 shouldn't be triggered
# Test {MD023} Valid heading for CommonMark (see section 5.2)
# Test {MD023} Also valid heading for CommonMark