diff options
author | Waylan Limberg <waylan@gmail.com> | 2008-09-20 00:40:57 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2008-09-20 00:40:57 -0400 |
commit | 41cc4c02e57ed1b25f12e78e3f34ddf64a81f392 (patch) | |
tree | 0086cce0864407cd8298ba553a525adfa7f3c350 /tests/extensions-x-wikilinks | |
parent | 361ac51d468562a95dac0fe184e73a9b740d1194 (diff) | |
download | markdown-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.html | 6 | ||||
-rw-r--r-- | tests/extensions-x-wikilinks/wikilinks.txt | 10 |
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. |