summaryrefslogtreecommitdiff
path: root/doc/lore/examples/example.html
blob: b1c6684ded9d45745fd98b070a71d1d5c290dc33 (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
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
<title>Your Title Here</title>
</head>

<body>
<h1>Your Title Here</h1>

<h2>Introduction</h2>

<p>The introduction is an important part of your
document<span class="footnote">though it should not be the most important
part</span>.</p>

<div class="note">
<p>It is generally a <em>very</em> good to write other section except
the introduction too.</p>
</div>

<p>
You can use the following ways to write lists:
<ul>
<li>Unordered lists</li>
<li>
    <ol>
    <li>ordered lists</li>
    </ol>
</li>
<li><dl>
    <dt>defintion lists</dt>
    <dd>with definitions</dd>
    </dl>
</li>
</ul>
</p>

<p>Shell commands look like <code class="shell">ls -l</code>. Python
snippets look like <code class="python">print 1</code>.</p>

<p>Longer python things should be in pre</p>

<pre class="python">
def foo():
    pass
</pre>

<p>Or they can be outlined</p>

<a href="rootscript.py" class="py-listing">rootscript.py</a>

<p>Likewise, HTML can be outlined too:</p>

<a href="example.html" class="py-listing">example.html</a>

</body> </html>