1
0
mirror of https://github.com/erusev/parsedown.git synced 2023-08-10 21:13:06 +03:00

Merge pull request #7 from hkdobrev/atx-headings-tests

More tests for atx headings
This commit is contained in:
Emanuil Rusev 2013-07-21 08:19:48 -07:00
commit ec5f2c6f31
2 changed files with 38 additions and 2 deletions

View File

@ -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>

View File

@ -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 ##