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
|
```
% pandoc -f docbook -t html
<?xml version="1.0" encoding="utf-8"?>
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
<info><title>Literallayout test</title></info>
<chapter>
<info><title>Literallayout without class</title></info>
<literallayout>First line.
Second line.
Third line, indented two spaces.</literallayout>
</chapter>
<chapter>
<info><title>Literallayout with normal class</title></info>
<literallayout class="normal">First line.
Second line.
Third line, indented two spaces.</literallayout>
</chapter>
<chapter>
<info><title>Literallayout with monospaced</title></info>
<literallayout class="monospaced">First line.
Second line.
Third line, indented two spaces.</literallayout>
</chapter>
</book>
^D
<h1>Literallayout without class</h1>
<div class="line-block">First line.<br />
Second line.<br />
Third line, indented two spaces.</div>
<h1>Literallayout with normal class</h1>
<div class="line-block">First line.<br />
Second line.<br />
Third line, indented two spaces.</div>
<h1>Literallayout with monospaced</h1>
<pre><code>First line.
Second line.
Third line, indented two spaces.</code></pre>
```
|