~ntt-pf-lab/nova/monkey_patch_notification

« back to all changes in this revision

Viewing changes to vendor/Twisted-10.0.0/doc/lore/examples/example.html

  • Committer: Jesse Andrews
  • Date: 2010-05-28 06:05:26 UTC
  • Revision ID: git-v1:bf6e6e718cdc7488e2da87b21e258ccc065fe499
initial commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 
3
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
4
 
 
5
<html xmlns="http://www.w3.org/1999/xhtml">
 
6
 
 
7
<head>
 
8
<title>Your Title Here</title>
 
9
</head>
 
10
 
 
11
<body>
 
12
<h1>Your Title Here</h1>
 
13
 
 
14
<h2>Introduction</h2>
 
15
 
 
16
<p>The introduction is an important part of your
 
17
document<span class="footnote">though it should not be the most important
 
18
part</span>.</p>
 
19
 
 
20
<div class="note">
 
21
<p>It is generally a <em>very</em> good to write other section except
 
22
the introduction too.</p>
 
23
</div>
 
24
 
 
25
<p>
 
26
You can use the following ways to write lists:
 
27
<ul>
 
28
<li>Unordered lists</li>
 
29
<li>
 
30
    <ol>
 
31
    <li>ordered lists</li>
 
32
    </ol>
 
33
</li>
 
34
<li><dl>
 
35
    <dt>defintion lists</dt>
 
36
    <dd>with definitions</dd>
 
37
    </dl>
 
38
</li>
 
39
</ul>
 
40
</p>
 
41
 
 
42
<p>Shell commands look like <code class="shell">ls -l</code>. Python
 
43
snippets look like <code class="python">print 1</code>.</p>
 
44
 
 
45
<p>Longer python things should be in pre</p>
 
46
 
 
47
<pre class="python">
 
48
def foo():
 
49
    pass
 
50
</pre>
 
51
 
 
52
<p>Or they can be outlined</p>
 
53
 
 
54
<a href="rootscript.py" class="py-listing">rootscript.py</a>
 
55
 
 
56
<p>Likewise, HTML can be outlined too:</p>
 
57
 
 
58
<a href="example.html" class="py-listing">example.html</a>
 
59
 
 
60
</body> </html>