aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions-x-def_list/simple_def-lists.txt
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-11-04 17:37:43 -0500
committerWaylan Limberg <waylan@gmail.com>2008-11-04 17:37:43 -0500
commita4106db7aff9e961f0c40a738f19ccf06a7cae6c (patch)
treeb403e1af3332899d3d92898bc37ea117383c2e1e /tests/extensions-x-def_list/simple_def-lists.txt
parentcbd702c752971b0f55e88cdb08ccf6965061bbf4 (diff)
downloadmarkdown-a4106db7aff9e961f0c40a738f19ccf06a7cae6c.tar.gz
markdown-a4106db7aff9e961f0c40a738f19ccf06a7cae6c.tar.bz2
markdown-a4106db7aff9e961f0c40a738f19ccf06a7cae6c.zip
Added Definition List extension. This is a first draft. A few more advanced features in PHP's implementation don't work yet. Most notably a blank line between a term and its first definition will break things. See the included test for what works.
Diffstat (limited to 'tests/extensions-x-def_list/simple_def-lists.txt')
-rw-r--r--tests/extensions-x-def_list/simple_def-lists.txt29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/extensions-x-def_list/simple_def-lists.txt b/tests/extensions-x-def_list/simple_def-lists.txt
new file mode 100644
index 0000000..20c028a
--- /dev/null
+++ b/tests/extensions-x-def_list/simple_def-lists.txt
@@ -0,0 +1,29 @@
+Some text
+
+term1
+: Def1
+
+term2-1
+term2-2
+: Def2-1
+: Def2-2
+
+more text
+
+term *3*
+: def 3
+ line __2__ of def 3
+
+ paragraph 2 of def 3.
+
+: def 3-2
+
+ # A code block in a def
+
+ > a blockquote
+
+ * a list item
+
+ * > blockquote in list
+
+final text.