summaryrefslogtreecommitdiff
path: root/tests/extensions/attr_list.html
blob: 4f21d8616ddc923e552a65e88647c41d3051ea3d (plain)
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<h1 id="setext">This is a sextext header</h1>
<p class="myclass" id="par1">A paragraph with some text.
Line two of the paragraph.</p>
<h2 class="someclass" id="sextext2">This is another</h2>
<p>Test some <em class="inline">inline</em> text.
A <a class="linkkyclass" href="http://example.com" title="A title.">link</a>
And a <strong class="nest">nested <a class="linky2" href="http://example.com" title="Some title">link</a></strong></p>
<h3 id="hash">This is a hash Header</h3>
<p bar="b az" baz="blah blah" foo="foo" title="I wasn't kidding!">And now some random attributes.</p>
<h3 id="hash2">No closing hash header</h3>
<p class="foo bar addme" id="overridden">Now test overrides</p>
<pre><code># A code block which contains attr_list syntax
# This should be ignored.
{: #someid .someclass }
</code></pre>
<h3 id="hash3">No colon for compatability with Headerid ext</h3>
<p id="the_end">Also a codespan: <code class="foo">{: .someclass}</code>.</p>
<h3 _:="{:" id="hash5">Bad Syntax</h3>
<ul>
<li class="item">Item1</li>
<li class="item">Item2<ul>
<li class="subitem">Item2-1</li>
</ul>
</li>
<li class="item"><em class="emph">Item3</em><ul>
<li class="subitem"><em class="emph">Item3-1</em></li>
</ul>
</li>
<li>Item4<ul>
<li>Item4-1</li>
</ul>
</li>
<li>Item5</li>
</ul>
<h1>And ordered lists <em class="inline">too</em></h1>
<ol>
<li class="item">Item1</li>
<li class="item">Item2<ol>
<li class="subitem">Item2-1</li>
</ol>
</li>
<li class="item"><em class="emph">Item3</em><ol>
<li class="subitem"><em class="emph">Item3-1</em></li>
</ol>
</li>
<li>Item4<ol>
<li>Item4-1</li>
</ol>
</li>
<li>Item5</li>
</ol>
<h1 class="block">Definition <em>lists</em></h1>
<dl>
<dt class="term">DT1</dt>
<dt class="term">DT2</dt>
<dd class="def">Some dd</dd>
<dd><em class="inline">dd</em></dd>
<dt><em class="inline">DT3</em></dt>
<dd>Some dd</dd>
</dl>
<h1>Bad attributes</h1>
<p>Key without <em foo="foo">value</em></p>
<p>Value without <em>key</em></p>
<p>No <em>key or value</em></p>
<p><em>Weirdness</em></p>
<p><em>More weirdness</em></p>
<p>This should not cause a <em foo="a">crash</em></p>
<p>Attr_lists do not contain <em>newlines</em>{ foo=bar
key=value }</p>