summaryrefslogtreecommitdiff
path: root/demo/demo_html2.out
diff options
context:
space:
mode:
Diffstat (limited to 'demo/demo_html2.out')
-rw-r--r--demo/demo_html2.out26
1 files changed, 13 insertions, 13 deletions
diff --git a/demo/demo_html2.out b/demo/demo_html2.out
index 01e4bdd..7bcf11f 100644
--- a/demo/demo_html2.out
+++ b/demo/demo_html2.out
@@ -108,7 +108,7 @@ ol.CodeRay li { white-space: pre; }
</head>
<body style="background-color: white;">
-<table class="CodeRay"> <tr>
+<table class="CodeRay"><tr>
<td class="line_numbers" title="click to toggle" onclick="with (this.firstChild.style) { display = (display == '') ? 'none' : '' }"><pre>1<tt>
</tt>2<tt>
</tt>3<tt>
@@ -133,19 +133,19 @@ ol.CodeRay li { white-space: pre; }
</tt><tt>
</tt>puts out.page<tt>
</tt></pre></td>
-</tr> </table>
+</tr></table>
<hr /><div class="CodeRay">
- <div class="code"><pre><span class="no"> 8</span> require <span style="background-color:#fff0f0;"><span style="color:#710;">'</span><span style="color:#D20;">coderay</span><span style="color:#710;">'</span></span>
-<span class="no"> 9</span>
-<span class="no"><strong>10</strong></span> <span style="color:#888;"># scan this file</span>
-<span class="no">11</span> tokens = <span style="color:#036; font-weight:bold;">CodeRay</span>.scan(<span style="color:#036; font-weight:bold;">File</span>.read(<span style="color:#d70; font-weight:bold;">$0</span>) * <span style="color:#00D; font-weight:bold;">1</span>, <span style="color:#A60;">:ruby</span>)
-<span class="no">12</span>
-<span class="no">13</span> <span style="color:#888;"># output it with two styles of line numbers</span>
-<span class="no">14</span> out = tokens.div(<span style="color:#A60;">:line_numbers</span> =&gt; <span style="color:#A60;">:table</span>)
-<span class="no">15</span> out &lt;&lt; <span style="background-color:#fff0f0;"><span style="color:#710;">'</span><span style="color:#D20;">&lt;hr /&gt;</span><span style="color:#710;">'</span></span>
-<span class="no">16</span> out &lt;&lt; tokens.div(<span style="color:#A60;">:line_numbers</span> =&gt; <span style="color:#A60;">:inline</span>, <span style="color:#A60;">:line_number_start</span> =&gt; <span style="color:#00D; font-weight:bold;">8</span>)
-<span class="no">17</span>
-<span class="no">18</span> puts out.page
+ <div class="code"><pre><span class="no"> 8</span> require <span style="background-color:#fff0f0;"><span style="color:#710;">'</span><span style="color:#D20;">coderay</span><span style="color:#710;">'</span></span>
+<span class="no"> 9</span>
+<span class="no"><strong>10</strong></span> <span style="color:#888;"># scan this file</span>
+<span class="no">11</span> tokens = <span style="color:#036; font-weight:bold;">CodeRay</span>.scan(<span style="color:#036; font-weight:bold;">File</span>.read(<span style="color:#d70; font-weight:bold;">$0</span>) * <span style="color:#00D; font-weight:bold;">1</span>, <span style="color:#A60;">:ruby</span>)
+<span class="no">12</span>
+<span class="no">13</span> <span style="color:#888;"># output it with two styles of line numbers</span>
+<span class="no">14</span> out = tokens.div(<span style="color:#A60;">:line_numbers</span> =&gt; <span style="color:#A60;">:table</span>)
+<span class="no">15</span> out &lt;&lt; <span style="background-color:#fff0f0;"><span style="color:#710;">'</span><span style="color:#D20;">&lt;hr /&gt;</span><span style="color:#710;">'</span></span>
+<span class="no">16</span> out &lt;&lt; tokens.div(<span style="color:#A60;">:line_numbers</span> =&gt; <span style="color:#A60;">:inline</span>, <span style="color:#A60;">:line_number_start</span> =&gt; <span style="color:#00D; font-weight:bold;">8</span>)
+<span class="no">17</span>
+<span class="no">18</span> puts out.page
</pre></div>
</div>