diff --git a/tests/data/compound_emphasis.html b/tests/data/compound_emphasis.html new file mode 100644 index 0000000..178dd54 --- /dev/null +++ b/tests/data/compound_emphasis.html @@ -0,0 +1,2 @@ +
code
code
code
code
code
tilde
\ No newline at end of file
+tilde
+echo 'language identifier';
\ No newline at end of file
diff --git a/tests/data/fenced_code_block.md b/tests/data/fenced_code_block.md
index 5672aea..cbed8eb 100644
--- a/tests/data/fenced_code_block.md
+++ b/tests/data/fenced_code_block.md
@@ -7,4 +7,8 @@ echo $message;
~~~
tilde
-~~~
\ No newline at end of file
+~~~
+
+```php
+echo 'language identifier';
+```
\ No newline at end of file
diff --git a/tests/data/image_reference.html b/tests/data/image_reference.html
index e882dfd..b3249cb 100644
--- a/tests/data/image_reference.html
+++ b/tests/data/image_reference.html
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/tests/data/image_reference.md b/tests/data/image_reference.md
index b8db468..dcb1414 100644
--- a/tests/data/image_reference.md
+++ b/tests/data/image_reference.md
@@ -1,3 +1,3 @@
![Markdown Logo][image]
-[image]: /md.png
\ No newline at end of file
+[image]: /md.png
diff --git a/tests/data/inline_link.html b/tests/data/inline_link.html
index 020ac75..2b9e649 100644
--- a/tests/data/inline_link.html
+++ b/tests/data/inline_link.html
@@ -1,4 +1,4 @@
-
+link and another link
- - \ No newline at end of file + + \ No newline at end of file diff --git a/tests/data/inline_link.md b/tests/data/inline_link.md index 041cd11..cd8e5a6 100644 --- a/tests/data/inline_link.md +++ b/tests/data/inline_link.md @@ -1,7 +1,7 @@ -[link](http://example.com) +[link](http://example.com) and [another link](/tests/) [`link`](http://example.com) -[link with title](http://example.com "Example") +[![MD Logo](http://parsedown.org/md.png)](http://example.com) -[![MD Logo](http://parsedown.org/md.png)](http://example.com) \ No newline at end of file +[![MD Logo](http://parsedown.org/md.png) and text](http://example.com) \ No newline at end of file diff --git a/tests/data/special_characters.html b/tests/data/special_characters.html index 7fd3fbb..7cebe8a 100644 --- a/tests/data/special_characters.html +++ b/tests/data/special_characters.html @@ -2,6 +2,6 @@AT&T is another way to write it
this & that
4 < 5 and 6 > 5
-http://example.com/autolink?a=1&b=2
+http://example.com/autolink?a=1&b=2
\ No newline at end of file diff --git a/tests/data/special_characters.md b/tests/data/special_characters.md index 440c05e..d91adc5 100644 --- a/tests/data/special_characters.md +++ b/tests/data/special_characters.md @@ -6,7 +6,7 @@ this & that 4 < 5 and 6 > 5 -strikethrough
in the middle of a sentence
in the middle of a word
here's one followed by another one
~~ this ~~ is not one neither is ~this~
\ No newline at end of file diff --git a/tests/data/strikethrough.md b/tests/data/strikethrough.md index 6c7efaf..d169144 100644 --- a/tests/data/strikethrough.md +++ b/tests/data/strikethrough.md @@ -1,5 +1,5 @@ ~~strikethrough~~ -in the ~~middle~~ of a sentence +here's ~~one~~ followed by ~~another one~~ -in the middle of a w~~or~~d \ No newline at end of file +~~ this ~~ is not one neither is ~this~ \ No newline at end of file diff --git a/tests/data/url_autolinking.html b/tests/data/url_autolinking.html index 5f59097..9862cc4 100644 --- a/tests/data/url_autolinking.html +++ b/tests/data/url_autolinking.html @@ -1 +1,2 @@ -Here's an autolink http://example.com.
\ No newline at end of file +an autolink http://example.com
+inside of brackets [http://example.com], inside of braces {http://example.com}, inside of parentheses (http://example.com)
\ No newline at end of file diff --git a/tests/data/url_autolinking.md b/tests/data/url_autolinking.md index 7094a09..8cc442a 100644 --- a/tests/data/url_autolinking.md +++ b/tests/data/url_autolinking.md @@ -1 +1,3 @@ -Here's an autolink http://example.com. \ No newline at end of file +an autolink http://example.com + +inside of brackets [http://example.com], inside of braces {http://example.com}, inside of parentheses (http://example.com) \ No newline at end of file