diff options
Diffstat (limited to 'tests/markdown-test/markdown-documentation-basics.html')
-rw-r--r-- | tests/markdown-test/markdown-documentation-basics.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/tests/markdown-test/markdown-documentation-basics.html b/tests/markdown-test/markdown-documentation-basics.html index 1dafe24..744e89d 100644 --- a/tests/markdown-test/markdown-documentation-basics.html +++ b/tests/markdown-test/markdown-documentation-basics.html @@ -32,7 +32,7 @@ </p> <p>Markdown offers two styles of headers: <em>Setext</em> and <em>atx</em>. Setext-style headers for <code><h1></code> and <code><h2></code> are created by - "underlining" with equal signs (<code>=</code>) and hyphens (<code>-</code>), respectively. + "underlining" with equal signs (<code>=</code>) and hyphens (<code>-</code>), respectively. To create an atx-style header, you put 1-6 hash marks (<code>#</code>) at the beginning of the line -- the number of hashes equals the resulting HTML header level. @@ -168,14 +168,14 @@ Or, if you prefer, <strong>use two underscores instead</strong>.< <pre><code>This is an [example link](http://example.com/). </code></pre><p>Output: </p> -<pre><code><p>This is an <a href="http://example.com/"> +<pre><code><p>This is an <a href="http://example.com/"> example link</a>.</p> </code></pre><p>Optionally, you may include a title attribute in the parentheses: </p> -<pre><code>This is an [example link](http://example.com/ "With a Title"). +<pre><code>This is an [example link](http://example.com/ "With a Title"). </code></pre><p>Output: </p> -<pre><code><p>This is an <a href="http://example.com/" title="With a Title"> +<pre><code><p>This is an <a href="http://example.com/" title="With a Title"> example link</a>.</p> </code></pre><p>Reference-style links allow you to refer to your links by names, which you define elsewhere in your document: @@ -183,15 +183,15 @@ example link</a>.</p> <pre><code>I get 10 times more traffic from [Google][1] than from [Yahoo][2] or [MSN][3]. -[1]: http://google.com/ "Google" -[2]: http://search.yahoo.com/ "Yahoo Search" -[3]: http://search.msn.com/ "MSN Search" +[1]: http://google.com/ "Google" +[2]: http://search.yahoo.com/ "Yahoo Search" +[3]: http://search.msn.com/ "MSN Search" </code></pre><p>Output: </p> -<pre><code><p>I get 10 times more traffic from <a href="http://google.com/" -title="Google">Google</a> than from <a href="http://search.yahoo.com/" -title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/" -title="MSN Search">MSN</a>.</p> +<pre><code><p>I get 10 times more traffic from <a href="http://google.com/" +title="Google">Google</a> than from <a href="http://search.yahoo.com/" +title="Yahoo Search">Yahoo</a> or <a href="http://search.msn.com/" +title="MSN Search">MSN</a>.</p> </code></pre><p>The title attribute is optional. Link names may contain letters, numbers and spaces, but are <em>not</em> case sensitive: </p> @@ -202,22 +202,22 @@ title="MSN Search">MSN</a>.</p> </code></pre><p>Output: </p> <pre><code><p>I start my morning with a cup of coffee and -<a href="http://www.nytimes.com/">The New York Times</a>.</p> +<a href="http://www.nytimes.com/">The New York Times</a>.</p> </code></pre> <h3>Images</h3> <p>Image syntax is very much like link syntax. </p> <p>Inline (titles are optional): </p> -<pre><code>![alt text](/path/to/img.jpg "Title") +<pre><code>![alt text](/path/to/img.jpg "Title") </code></pre><p>Reference-style: </p> <pre><code>![alt text][id] -[id]: /path/to/img.jpg "Title" +[id]: /path/to/img.jpg "Title" </code></pre><p>Both of the above examples produce the same output: </p> -<pre><code><img src="/path/to/img.jpg" alt="alt text" title="Title" /> +<pre><code><img src="/path/to/img.jpg" alt="alt text" title="Title" /> </code></pre> <h3>Code</h3> <p>In a regular paragraph, you can create code span by wrapping text in |