This commit is contained in:
parent
cb9fb5dafb
commit
11fa4c8d52
@ -56,9 +56,9 @@ declare -a tests=(
|
|||||||
$'# Header 1\n## Header 2'
|
$'# Header 1\n## Header 2'
|
||||||
"<h1>Header 1</h1><h2>Header 2</h2>"
|
"<h1>Header 1</h1><h2>Header 2</h2>"
|
||||||
|
|
||||||
# "Multiple headers 2"
|
"Multiple headers 2"
|
||||||
# $'### Header 3\n\n## Header 2\n\n# Header 1'
|
$'### Header 3\n\n## Header 2\n\n# Header 1'
|
||||||
# "<h3>Header 3</h3><h2>Header 2</h2><h1>Header 1</h1>"
|
"<h3>Header 3</h3><h2>Header 2</h2><h1>Header 1</h1>"
|
||||||
|
|
||||||
"Unordered List"
|
"Unordered List"
|
||||||
$'- item\n* item'
|
$'- item\n* item'
|
||||||
@ -112,6 +112,10 @@ declare -a tests=(
|
|||||||
"This is a [link](https://www.google.com) to google"
|
"This is a [link](https://www.google.com) to google"
|
||||||
$'<p>This is a <a href=\"https://www.google.com\">link</a> to google</p>'
|
$'<p>This is a <a href=\"https://www.google.com\">link</a> to google</p>'
|
||||||
|
|
||||||
|
"Link 2"
|
||||||
|
"A link to [wikipedia](https://www.wikipedia.org)"
|
||||||
|
"<p>A link to <a href=\"https://www.wikipedia.org\">wikipedia</a></p>"
|
||||||
|
|
||||||
|
|
||||||
# You can add more test cases following the same format...
|
# You can add more test cases following the same format...
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user