diff --git a/tests/data/atx_heading.html b/tests/data/atx_heading.html index 0540854..a5c8f15 100644 --- a/tests/data/atx_heading.html +++ b/tests/data/atx_heading.html @@ -1,14 +1,6 @@ -

This is an h1

-

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

\ No newline at end of file +

This is an h1

+

This is an h2

+

This is an h3

+

This is an h4

+
This is an h5
+
This is an h6
\ No newline at end of file diff --git a/tests/data/atx_heading.md b/tests/data/atx_heading.md index 4f6e49b..07ef629 100644 --- a/tests/data/atx_heading.md +++ b/tests/data/atx_heading.md @@ -1,27 +1,11 @@ -# This is an h1 - -## 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 ## \ No newline at end of file +# This is an h1 + +## This is an h2 + +### This is an h3 + +#### This is an h4 + +##### This is an h5 + +###### This is an h6 \ No newline at end of file diff --git a/tests/data/blockquote.html b/tests/data/blockquote.html index 1cd4095..4e84ed9 100644 --- a/tests/data/blockquote.html +++ b/tests/data/blockquote.html @@ -1,25 +1,13 @@ -

Here's a regular blockquote:

-
-

This is a blockquote.

-
-

Here's one with no space after the ">":

-
-

This is a blockquote.

-
-

Here's one with multiple paragraphs:

-
-

This is line one.

-

This is line two.

-
-

Here's one with multiple types of blocks:

-
-

This is a quoted paragraph.

- -
-

This is a nested quote block.

-
-

This is another paragraph.

+

Here's a regular blockquote:

+
+

blockquote

+
+

Here's one with no space after the ">":

+
+

blockquote

+
+

Here's one on multiple lines:

+
+

line 1 +line 2

\ No newline at end of file diff --git a/tests/data/blockquote.md b/tests/data/blockquote.md index 63e4099..8e508a8 100644 --- a/tests/data/blockquote.md +++ b/tests/data/blockquote.md @@ -1,24 +1,12 @@ -Here's a regular blockquote: - -> This is a blockquote. - -Here's one with no space after the ">": - ->This is a blockquote. - -Here's one with multiple paragraphs: - -> This is line one. -> -> This is line two. - -Here's one with multiple types of blocks: - -> This is a quoted paragraph. -> -> - This is a list item of a quoted list. -> - This is another list item. -> -> > This is a nested quote block. -> -> This is another paragraph. \ No newline at end of file +Here's a regular blockquote: + +> blockquote + +Here's one with no space after the ">": + +>blockquote + +Here's one on multiple lines: + +> line 1 +> line 2 \ No newline at end of file diff --git a/tests/data/closed_atx_heading.html b/tests/data/closed_atx_heading.html new file mode 100644 index 0000000..aae65da --- /dev/null +++ b/tests/data/closed_atx_heading.html @@ -0,0 +1,6 @@ +

h1

+

h2

+

h3

+

h4

+
h5
+
h6
\ No newline at end of file diff --git a/tests/data/closed_atx_heading.md b/tests/data/closed_atx_heading.md new file mode 100644 index 0000000..95668a1 --- /dev/null +++ b/tests/data/closed_atx_heading.md @@ -0,0 +1,11 @@ +# h1 # + +## h2 ## + +### h3 ### + +#### h4 #### + +##### h5 ##### + +###### h6 ###### \ No newline at end of file diff --git a/tests/data/compound_blockquote.html b/tests/data/compound_blockquote.html new file mode 100644 index 0000000..512c113 --- /dev/null +++ b/tests/data/compound_blockquote.html @@ -0,0 +1,16 @@ +

Here's one with multiple paragraphs:

+
+

This is line one.

+

This is line two.

+
+

Here's one with multiple types of blocks:

+
+

This is a quoted paragraph.

+ +
+

This is a nested quote block.

+
+
\ No newline at end of file diff --git a/tests/data/compound_blockquote.md b/tests/data/compound_blockquote.md new file mode 100644 index 0000000..dd2c690 --- /dev/null +++ b/tests/data/compound_blockquote.md @@ -0,0 +1,14 @@ +Here's one with multiple paragraphs: + +> This is line one. +> +> This is line two. + +Here's one with multiple types of blocks: + +> This is a quoted paragraph. +> +> - This is a list item of a quoted list. +> - This is another list item. +> +> > This is a nested quote block. \ No newline at end of file diff --git a/tests/data/lazy_blockquote.html b/tests/data/lazy_blockquote.html new file mode 100644 index 0000000..9571bc0 --- /dev/null +++ b/tests/data/lazy_blockquote.html @@ -0,0 +1,4 @@ +
+

line 1 +line 2

+
\ No newline at end of file diff --git a/tests/data/lazy_blockquote.md b/tests/data/lazy_blockquote.md new file mode 100644 index 0000000..78a9bdd --- /dev/null +++ b/tests/data/lazy_blockquote.md @@ -0,0 +1,2 @@ +> line 1 +line 2 \ No newline at end of file diff --git a/tests/data/lazy_list_item.html b/tests/data/lazy_list_item.html new file mode 100644 index 0000000..1658470 --- /dev/null +++ b/tests/data/lazy_list_item.html @@ -0,0 +1,4 @@ + \ No newline at end of file diff --git a/tests/data/lazy_list_item.md b/tests/data/lazy_list_item.md new file mode 100644 index 0000000..35bfbb8 --- /dev/null +++ b/tests/data/lazy_list_item.md @@ -0,0 +1,2 @@ +- li +more text \ No newline at end of file diff --git a/tests/data/line_break.html b/tests/data/line_break.html new file mode 100644 index 0000000..d65cae9 --- /dev/null +++ b/tests/data/line_break.html @@ -0,0 +1,2 @@ +

line
+line

\ No newline at end of file diff --git a/tests/data/line_break.md b/tests/data/line_break.md new file mode 100644 index 0000000..2908f6f --- /dev/null +++ b/tests/data/line_break.md @@ -0,0 +1,2 @@ +line +line \ No newline at end of file diff --git a/tests/data/paragraph_blockquote.html b/tests/data/paragraph_blockquote.html index e69de29..53750b5 100644 --- a/tests/data/paragraph_blockquote.html +++ b/tests/data/paragraph_blockquote.html @@ -0,0 +1,4 @@ +

Here's a paragraph.

+
+

a block quote that belongs to it.

+
\ No newline at end of file diff --git a/tests/data/paragraph_blockquote.md b/tests/data/paragraph_blockquote.md index e69de29..c83dccb 100644 --- a/tests/data/paragraph_blockquote.md +++ b/tests/data/paragraph_blockquote.md @@ -0,0 +1,2 @@ +Here's a paragraph. +> a block quote that belongs to it. \ No newline at end of file diff --git a/tests/data/setext.html b/tests/data/setext.html new file mode 100644 index 0000000..0b00bb3 --- /dev/null +++ b/tests/data/setext.html @@ -0,0 +1,2 @@ +

line

+

line

\ No newline at end of file diff --git a/tests/data/setext.md b/tests/data/setext.md new file mode 100644 index 0000000..959ea3e --- /dev/null +++ b/tests/data/setext.md @@ -0,0 +1,5 @@ +line +- + +line +---- \ No newline at end of file