aboutsummaryrefslogtreecommitdiffstats
path: root/tests/extensions-x-wikilinks
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-09-20 00:40:57 -0400
committerWaylan Limberg <waylan@gmail.com>2008-09-20 00:40:57 -0400
commit41cc4c02e57ed1b25f12e78e3f34ddf64a81f392 (patch)
tree0086cce0864407cd8298ba553a525adfa7f3c350 /tests/extensions-x-wikilinks
parent361ac51d468562a95dac0fe184e73a9b740d1194 (diff)
downloadmarkdown-41cc4c02e57ed1b25f12e78e3f34ddf64a81f392.tar.gz
markdown-41cc4c02e57ed1b25f12e78e3f34ddf64a81f392.tar.bz2
markdown-41cc4c02e57ed1b25f12e78e3f34ddf64a81f392.zip
Added tests for new '[[wikilinks]]' extension.
Diffstat (limited to 'tests/extensions-x-wikilinks')
-rw-r--r--tests/extensions-x-wikilinks/wikilinks.html6
-rw-r--r--tests/extensions-x-wikilinks/wikilinks.txt10
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/extensions-x-wikilinks/wikilinks.html b/tests/extensions-x-wikilinks/wikilinks.html
new file mode 100644
index 0000000..1a38535
--- /dev/null
+++ b/tests/extensions-x-wikilinks/wikilinks.html
@@ -0,0 +1,6 @@
+<p>Some text with a <a class="wikilink" href="/WikiLink/">WikiLink</a>.</p>
+<p>A link with <a class="wikilink" href="/white_space_and_underscores/">white space and_underscores</a> and a empty one.</p>
+<p>And a <a href="http://example.com/RealLink">RealLink</a>.</p>
+<p><a href="http://example.com/And_A_AutoLink">http://example.com/And_A_AutoLink</a></p>
+<p>And a <a href="/MarkdownLink/" title="A MarkdownLink">MarkdownLink</a> for
+completeness.</p> \ No newline at end of file
diff --git a/tests/extensions-x-wikilinks/wikilinks.txt b/tests/extensions-x-wikilinks/wikilinks.txt
new file mode 100644
index 0000000..46d1279
--- /dev/null
+++ b/tests/extensions-x-wikilinks/wikilinks.txt
@@ -0,0 +1,10 @@
+Some text with a [[WikiLink]].
+
+A link with [[ white space and_underscores ]] and a empty [[ ]] one.
+
+And a <a href="http://example.com/RealLink">RealLink</a>.
+
+<http://example.com/And_A_AutoLink>
+
+And a [MarkdownLink](/MarkdownLink/ "A MarkdownLink") for
+completeness.