mirror of
https://github.com/erusev/parsedown.git
synced 2023-08-10 21:13:06 +03:00
More tests for atx headings
Headings with the atx style support closing. I have added more tests for all heading sizes, closing and closing different number of #s.
This commit is contained in:
parent
7b091b8915
commit
66f9baf013
@ -1,2 +1,14 @@
|
||||
<h1>This is an h1</h1>
|
||||
<h2>This is an h2</h2>
|
||||
<h2>This is an h2</h2>
|
||||
<h3>This is an h3</h3>
|
||||
<h4>This is an h4</h4>
|
||||
<h5>This is an h5</h5>
|
||||
<h6>This is an h6</h6>
|
||||
<h1>This is a closed h1</h1>
|
||||
<h2>This is a closed h2</h2>
|
||||
<h3>This is a closed h3</h3>
|
||||
<h4>This is a closed h4</h4>
|
||||
<h5>This is a closed h5</h5>
|
||||
<h6>This is a closed h6</h6>
|
||||
<h1>This is an irregularly closed h1</h1>
|
||||
<h4>This is an irregularly closed h4</h4>
|
@ -1,3 +1,27 @@
|
||||
# This is an h1
|
||||
|
||||
## This is an h2
|
||||
## This is an h2
|
||||
|
||||
### This is an h3
|
||||
|
||||
#### This is an h4
|
||||
|
||||
##### This is an h5
|
||||
|
||||
###### This is an h6
|
||||
|
||||
# This is a closed h1 #
|
||||
|
||||
## This is a closed h2 ##
|
||||
|
||||
### This is a closed h3 ###
|
||||
|
||||
#### This is a closed h4 ####
|
||||
|
||||
##### This is a closed h5 #####
|
||||
|
||||
###### This is a closed h6 ######
|
||||
|
||||
# This is an irregularly closed h1 ###
|
||||
|
||||
#### This is an irregularly closed h4 ##
|
Loading…
Reference in New Issue
Block a user