diff options
author | Waylan Limberg <waylan@gmail.com> | 2012-01-24 07:57:58 -0500 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2012-01-24 07:57:58 -0500 |
commit | a9cd895467b3caa08d585458fdcbcc5525356493 (patch) | |
tree | 2d99fb25c551217a6e59698f193b649ebdca65b8 /tests/extensions/sane_lists.html | |
parent | acd09498fbd2b13e65038c96a118fd859a6df235 (diff) | |
download | markdown-a9cd895467b3caa08d585458fdcbcc5525356493.tar.gz markdown-a9cd895467b3caa08d585458fdcbcc5525356493.tar.bz2 markdown-a9cd895467b3caa08d585458fdcbcc5525356493.zip |
Fixes #64. Added sane_list extension.
This is an extension which alters the behavior of lists to be less surprising.
If turned out to be rather simple to code. I'm surprised no one had written it
yet.
I should note that this extension does not generate separate lists if different
unordered list markers are used (`*` verses `-` verses `+`) The way the parser
works that would be a little more tricky.
Diffstat (limited to 'tests/extensions/sane_lists.html')
-rw-r--r-- | tests/extensions/sane_lists.html | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/extensions/sane_lists.html b/tests/extensions/sane_lists.html new file mode 100644 index 0000000..b9fe007 --- /dev/null +++ b/tests/extensions/sane_lists.html @@ -0,0 +1,21 @@ +<ol> +<li>Ordered</li> +<li>List</li> +</ol> +<ul> +<li>Unordered</li> +<li>List</li> +</ul> +<ol> +<li>Ordered again</li> +</ol> +<p>Paragraph +* not a list item</p> +<ol> +<li>More ordered +* not a list item</li> +</ol> +<ul> +<li>Unordered again +1. not a list item</li> +</ul>
\ No newline at end of file |