blob: 79390c04b63f68f879ccd73daabd08f1c6440943 (
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
|
<!DOCTYPE html>
<html>
<head></head>
<body>
<h3>
C++ test
</h3>
<div class="legalnotice">
<p>
<code><span class="keyword">def</span> <span class="identifier">foo</span><span
class="special">(</span><span class="identifier">x</span><span class="special">):</span>
<span class="keyword">print</span> <span class="string">"Hello"</span></code>
</p>
</div>
<div class="toc">
<p>
<b>Table of contents</b>
</p>
<ul>
<li>
<a href="#c___source_mode_include">C++ source mode include</a>
</li>
<li>
<a href="#python_source_mode_include">Python source mode include</a>
</li>
<li>
<a href="#teletype_source_mode_include">Teletype source mode include</a>
</li>
</ul>
</div>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<pre class="programlisting">This shouldn't be highlighted.</pre>
<div id="c___source_mode_include">
<h3>
C++ source mode include
</h3>
<p>
<pre class="programlisting"><span class="keyword">int</span> <span class="identifier">main</span><span class="special">()</span> <span class="special">{}</span></pre>
</p>
</div>
<div id="python_source_mode_include">
<h3>
Python source mode include
</h3>
<p>
<pre class="programlisting"><span class="keyword">def</span> <span class="identifier">foo</span><span class="special">():</span></pre>
</p>
</div>
<div id="teletype_source_mode_include">
<h3>
Teletype source mode include
</h3>
<p>
<pre class="programlisting">This shouldn't be highlighted</pre>
</p>
</div>
</body>
</html>
|