aboutsummaryrefslogtreecommitdiffstats
path: root/tests/markdown-test/markdown-syntax.html
diff options
context:
space:
mode:
authorWaylan Limberg <waylan@gmail.com>2008-09-03 13:30:04 -0400
committerWaylan Limberg <waylan@gmail.com>2008-09-03 13:46:52 -0400
commita1c636a05557b1faa207828c9e7102391bdde5c9 (patch)
treee223f4a97d811ce956073be7647695fbcc3e6f4c /tests/markdown-test/markdown-syntax.html
parenta4c80246770b87ca3d2cce5b5184901fd2495a7d (diff)
downloadmarkdown-a1c636a05557b1faa207828c9e7102391bdde5c9.tar.gz
markdown-a1c636a05557b1faa207828c9e7102391bdde5c9.tar.bz2
markdown-a1c636a05557b1faa207828c9e7102391bdde5c9.zip
Replaced indentation with linebreaks only. At least its more consistant - and it better matches other markdown implementations. Also updated tests.
Diffstat (limited to 'tests/markdown-test/markdown-syntax.html')
-rw-r--r--tests/markdown-test/markdown-syntax.html111
1 files changed, 36 insertions, 75 deletions
diff --git a/tests/markdown-test/markdown-syntax.html b/tests/markdown-test/markdown-syntax.html
index c53c045..2f63b4b 100644
--- a/tests/markdown-test/markdown-syntax.html
+++ b/tests/markdown-test/markdown-syntax.html
@@ -8,74 +8,35 @@
</ul>
<ul>
- <li>
- <a href="#overview">Overview</a>
- <ul>
- <li>
- <a href="#philosophy">Philosophy</a>
- </li>
- <li>
- <a href="#html">Inline HTML</a>
- </li>
- <li>
- <a href="#autoescape">Automatic Escaping for Special Characters</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="#block">Block Elements</a>
- <ul>
- <li>
- <a href="#p">Paragraphs and Line Breaks</a>
- </li>
- <li>
- <a href="#header">Headers</a>
- </li>
- <li>
- <a href="#blockquote">Blockquotes</a>
- </li>
- <li>
- <a href="#list">Lists</a>
- </li>
- <li>
- <a href="#precode">Code Blocks</a>
- </li>
- <li>
- <a href="#hr">Horizontal Rules</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="#span">Span Elements</a>
- <ul>
- <li>
- <a href="#link">Links</a>
- </li>
- <li>
- <a href="#em">Emphasis</a>
- </li>
- <li>
- <a href="#code">Code</a>
- </li>
- <li>
- <a href="#img">Images</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="#misc">Miscellaneous</a>
- <ul>
- <li>
- <a href="#backslash">Backslash Escapes</a>
- </li>
- <li>
- <a href="#autolink">Automatic Links</a>
- </li>
- </ul>
- </li>
+<li><a href="#overview">Overview</a><ul>
+<li><a href="#philosophy">Philosophy</a></li>
+<li><a href="#html">Inline HTML</a></li>
+<li><a href="#autoescape">Automatic Escaping for Special Characters</a></li>
</ul>
-<p>
- <strong>Note:</strong> This document is itself written using Markdown; you
+</li>
+<li><a href="#block">Block Elements</a><ul>
+<li><a href="#p">Paragraphs and Line Breaks</a></li>
+<li><a href="#header">Headers</a></li>
+<li><a href="#blockquote">Blockquotes</a></li>
+<li><a href="#list">Lists</a></li>
+<li><a href="#precode">Code Blocks</a></li>
+<li><a href="#hr">Horizontal Rules</a></li>
+</ul>
+</li>
+<li><a href="#span">Span Elements</a><ul>
+<li><a href="#link">Links</a></li>
+<li><a href="#em">Emphasis</a></li>
+<li><a href="#code">Code</a></li>
+<li><a href="#img">Images</a></li>
+</ul>
+</li>
+<li><a href="#misc">Miscellaneous</a><ul>
+<li><a href="#backslash">Backslash Escapes</a></li>
+<li><a href="#autolink">Automatic Links</a></li>
+</ul>
+</li>
+</ul>
+<p><strong>Note:</strong> This document is itself written using Markdown; you
can <a href="/projects/markdown/syntax.text">see the source for it by adding '.text' to the URL</a>.</p>
<hr />
<h2 id="overview">Overview</h2>
@@ -522,12 +483,12 @@ on a line by itself:</p>
</code></pre>
<p>That is:</p>
<ul>
- <li>Square brackets containing the link identifier (optionally
+<li>Square brackets containing the link identifier (optionally
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
+<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>
</ul>
<p>The link URL may, optionally, be surrounded by angle brackets:</p>
@@ -697,10 +658,10 @@ for links, allowing for two styles: <em>inline</em> and <em>reference</em>.</p>
</code></pre>
<p>That is:</p>
<ul>
- <li>An exclamation mark: <code>!</code>;</li>
- <li>followed by a set of square brackets, containing the <code>alt</code>
+<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>
- <li>followed by a set of parentheses, containing the URL or path to
+<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>
</ul>