2015-03-11 09:30:34 -07:00
|
|
|
Some text
|
|
|
|
|
2018-03-19 23:39:42 +01:00
|
|
|
# Heading 1 {MD023}
|
2015-03-11 09:30:34 -07:00
|
|
|
|
|
|
|
Setext style fully indented {MD023}
|
|
|
|
===================================
|
|
|
|
|
|
|
|
Setext style title only indented {MD023}
|
2016-09-24 16:15:54 -07:00
|
|
|
=========================================
|
|
|
|
|
|
|
|
* 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
|
2024-06-17 22:18:58 -07:00
|
|
|
# Test {MD022} Valid heading for CommonMark (see section 5.2)
|
2019-03-21 21:42:24 -07:00
|
|
|
# Test {MD022} {MD023} Also valid heading for CommonMark
|
2023-03-15 21:26:22 -07:00
|
|
|
|
|
|
|
<!-- markdownlint-configure-file {
|
2023-07-28 14:33:03 +10:00
|
|
|
"heading-style": false,
|
|
|
|
"first-line-heading": false
|
2023-03-15 21:26:22 -07:00
|
|
|
} -->
|