summaryrefslogtreecommitdiff
path: root/sandbox/code-block-directive/docs/myfunction.py.html
blob: edc70024649bcacfd5d8ae57bf7afb131fc91511 (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
<?xml version="1.0" encoding="iso-8859-1" ?>
<!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" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
<title></title>
<link rel="stylesheet" href="../data/pygments-default.css" type="text/css" />
</head>
<body>
<div class="document">
<p>This is a test of the new code-block directive:</p>
<!-- Translate this document to HTML with a pygments enhanced frontend, e.g.

rst2html-highlight - -stylesheet=pygments-default.css - -link-stylesheet -->
<pre class="code-block python literal-block">
<span class="k">def</span> <span class="nf">my_function</span><span class="p">():</span>
    <span class="s">&quot;just a test&quot;</span>
    <span class="k">print</span> <span class="mi">8</span><span class="o">/</span><span class="mi">2</span>

</pre>
</div>
<div class="footer">
<hr class="footer" />
Generated on: 2007-06-05.

</div>
</body>
</html>