diff options
author | Waylan Limberg <waylan@gmail.com> | 2009-05-30 22:29:56 -0400 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2009-06-05 22:25:51 -0400 |
commit | cc452998dc1af441cf3f9c5d0c7287cb5de48c4a (patch) | |
tree | f138bb00542b47bf382d4ba8f10f0d2a9470ccfe /tests/extensions-x-def_list | |
parent | 0ae9951f49eb75c8a9fb9f841673b889763c1811 (diff) | |
download | markdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.tar.gz markdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.tar.bz2 markdown-cc452998dc1af441cf3f9c5d0c7287cb5de48c4a.zip |
Initial implementation of nose testing. Still some cleanup to do, but this shows the differances between the old and the new. Also left one test failing (unsignificant white space only) to demonstrate what a failing test looks like.
Diffstat (limited to 'tests/extensions-x-def_list')
-rw-r--r-- | tests/extensions-x-def_list/markdown-syntax.html | 10 | ||||
-rw-r--r-- | tests/extensions-x-def_list/test.cfg | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/tests/extensions-x-def_list/markdown-syntax.html b/tests/extensions-x-def_list/markdown-syntax.html index 2f63b4b..038c9d1 100644 --- a/tests/extensions-x-def_list/markdown-syntax.html +++ b/tests/extensions-x-def_list/markdown-syntax.html @@ -484,12 +484,12 @@ on a line by itself:</p> <p>That is:</p> <ul> <li>Square brackets containing the link identifier (optionally -indented from the left margin using up to three spaces);</li> + indented from the left margin using up to three spaces);</li> <li>followed by a colon;</li> <li>followed by one or more spaces (or tabs);</li> <li>followed by the URL for the link;</li> <li>optionally followed by a title attribute for the link, enclosed -in double or single quotes.</li> + in double or single quotes.</li> </ul> <p>The link URL may, optionally, be surrounded by angle brackets:</p> <pre><code>[id]: <http://example.com/> "Optional Title Here" @@ -660,10 +660,10 @@ for links, allowing for two styles: <em>inline</em> and <em>reference</em>.</p> <ul> <li>An exclamation mark: <code>!</code>;</li> <li>followed by a set of square brackets, containing the <code>alt</code> -attribute text for the image;</li> + attribute text for the image;</li> <li>followed by a set of parentheses, containing the URL or path to -the image, and an optional <code>title</code> attribute enclosed in double -or single quotes.</li> + the image, and an optional <code>title</code> attribute enclosed in double + or single quotes.</li> </ul> <p>Reference-style image syntax looks like this:</p> <pre><code>![Alt text][id] diff --git a/tests/extensions-x-def_list/test.cfg b/tests/extensions-x-def_list/test.cfg new file mode 100644 index 0000000..c9f352d --- /dev/null +++ b/tests/extensions-x-def_list/test.cfg @@ -0,0 +1,2 @@ +[DEFAULT] +extensions=def_list |