File: code_blocks.html

package info (click to toggle)
ruby-ronn 0.10.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 764 kB
  • sloc: ruby: 1,587; sh: 22; makefile: 9
file content (38 lines) | stat: -rw-r--r-- 725 bytes parent folder | download | duplicates (2)
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
<div class='mp'>

<h1 id="Example-Code-Blocks">Example Code Blocks</h1>
<h2 id="Basic-code-block">Basic code block</h2>

<pre><code>Hello, world!
</code></pre>

<h2 id="Language-identified-code-blocks">Language-identified code blocks</h2>

<pre><code class="language-html">&lt;html&gt;
  &lt;head&gt;
    &lt;title&gt;Hello, world!&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
    Hello, world!
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<h2 id="Interspersed-code-blocks-and-text">Interspersed code blocks and text</h2>

<p>Some text.</p>

<pre><code>Some code.
</code></pre>

<p>Here's some &lt;pre&gt; text.</p>

<pre>
    This is pre text.
</pre>

<p>Some more text.</p>

<pre><code>Some more code.
</code></pre>
</div>