blob: c10a80753d7a0e035d1c361eba8527fc55cb6161 [file] [edit]
>>> h1
# header
<<<
<h1>header</h1>
>>> h2
## header
<<<
<h2>header</h2>
>>> h3
### header
<<<
<h3>header</h3>
>>> h4
#### header
<<<
<h4>header</h4>
>>> h5
##### header
<<<
<h5>header</h5>
>>> h6
###### header
<<<
<h6>header</h6>
>>> trailing "#" are removed
# header ######
<<<
<h1>header</h1>
>>> empty header with tabs and closing "#"
### #
<<<
<h3></h3>
>>> header with many spaces before text
# header
<<<
<h1>header</h1>
>>> header with trailing U+2028 line separator
### Heading

<<<
<h3>Heading</h3>
>>> header with U+2028 and U+2029 in the text
### Heading
 mid
 text
<<<
<h3>Heading
 mid
 text</h3>
>>> header with closing "#" after U+2028
# a
 #
<<<
<h1>a</h1>