summaryrefslogtreecommitdiff
path: root/tests/writer.markdown
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2012-05-16 13:07:58 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2012-05-16 13:07:58 -0700
commit4991852edbb1ad286518ca0d58c4b1082587969f (patch)
tree914488424c17b155975343d3047576a100621ae9 /tests/writer.markdown
parent4e35c67c23875dc76a9a1409597b4c40f7834a70 (diff)
Markdown writer: Improved definition lists.
* Use `:` form instead of `~`, for better compatibility with other markdown implementations. * Don't wrap the term, because it breaks definition lists.
Diffstat (limited to 'tests/writer.markdown')
-rw-r--r--tests/writer.markdown44
1 files changed, 22 insertions, 22 deletions
diff --git a/tests/writer.markdown b/tests/writer.markdown
index 14fc3a434..3d0fb765f 100644
--- a/tests/writer.markdown
+++ b/tests/writer.markdown
@@ -272,41 +272,41 @@ Definition Lists
Tight using spaces:
apple
- ~ red fruit
+: red fruit
orange
- ~ orange fruit
+: orange fruit
banana
- ~ yellow fruit
+: yellow fruit
Tight using tabs:
apple
- ~ red fruit
+: red fruit
orange
- ~ orange fruit
+: orange fruit
banana
- ~ yellow fruit
+: yellow fruit
Loose:
apple
- ~ red fruit
+: red fruit
orange
- ~ orange fruit
+: orange fruit
banana
- ~ yellow fruit
+: yellow fruit
Multiple blocks with italics:
*apple*
- ~ red fruit
+: red fruit
contains seeds, crisp, pleasant to taste
*orange*
- ~ orange fruit
+: orange fruit
{ orange code block }
@@ -315,33 +315,33 @@ Multiple blocks with italics:
Multiple definitions, tight:
apple
- ~ red fruit
- ~ computer
+: red fruit
+: computer
orange
- ~ orange fruit
- ~ bank
+: orange fruit
+: bank
Multiple definitions, loose:
apple
- ~ red fruit
+: red fruit
- ~ computer
+: computer
orange
- ~ orange fruit
+: orange fruit
- ~ bank
+: bank
Blank line after term, indented marker, alternate markers:
apple
- ~ red fruit
+: red fruit
- ~ computer
+: computer
orange
- ~ orange fruit
+: orange fruit
1. sublist
2. sublist