File: inline-html-simple.html

package info (click to toggle)
python-markdown 2.1.1-3
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 2,412 kB
  • sloc: python: 3,427; makefile: 36
file content (49 lines) | stat: -rw-r--r-- 1,054 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<p>Here's a simple block:</p>
<p>&lt;div&gt;
    foo
&lt;/div&gt;</p>
<p>This should be a code block, though:</p>
<pre><code>&lt;div&gt;
    foo
&lt;/div&gt;
</code></pre>
<p>As should this:</p>
<pre><code>&lt;div&gt;foo&lt;/div&gt;
</code></pre>
<p>Now, nested:</p>
<p>&lt;div&gt;
    &lt;div&gt;
        &lt;div&gt;
            foo
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;</p>
<p>This should just be an HTML comment:</p>
<p>&lt;!-- Comment --&gt;</p>
<p>Multiline:</p>
<p>&lt;!--
Blah
Blah
--&gt;</p>
<p>Code block:</p>
<pre><code>&lt;!-- Comment --&gt;
</code></pre>
<p>Just plain comment, with trailing spaces on the line:</p>
<p>&lt;!-- foo --&gt; <br />
</p>
<p>Code:</p>
<pre><code>&lt;hr /&gt;
</code></pre>
<p>Hr's:</p>
<p>&lt;hr&gt;</p>
<p>&lt;hr/&gt;</p>
<p>&lt;hr /&gt;</p>
<p>&lt;hr&gt; <br />
</p>
<p>&lt;hr/&gt;<br />
</p>
<p>&lt;hr /&gt; </p>
<p>&lt;hr class="foo" id="bar" /&gt;</p>
<p>&lt;hr class="foo" id="bar"/&gt;</p>
<p>&lt;hr class="foo" id="bar" &gt;</p>
<p>&lt;some <a href="http://example.com">weird</a> stuff&gt;</p>