go-org-orgwiki/org/testdata/lists.html
Niklas Fasching c6854a40e1 Improve descriptive list org rendering
- indent to correct lvl
  - term ::
            |<- indent up to here
    |<- not here
2018-12-17 16:02:56 +01:00

129 lines
1.4 KiB
HTML

<ul>
<li>
<p>
unordered list item 1
</p>
</li>
<li>
<p>
unordered list item 2 - with <code>inline</code> <em>markup</em>
</p>
<ol>
<li>
<p>
ordered sublist item 1
</p>
<ol>
<li>
<p>
ordered sublist item 1
</p>
</li>
<li>
<p>
ordered sublist item 2
</p>
</li>
<li>
<p>
ordered sublist item 3
</p>
</li>
</ol>
</li>
<li>
<p>
ordered sublist item 2
</p>
</li>
</ol>
</li>
<li>
<p>
unordered list item 3 - and a <a href="https://example.com">link</a>
and some lines of text
</p>
<ol>
<li>
<p>
and another subitem
</p>
<div class="highlight">
<pre>
echo with a block
</pre>
</div>
</li>
<li>
<p>
and another one with a table
</p>
<table>
<thead>
<tr>
<th class="align-right">a</th>
<th class="align-right">b</th>
<th class="align-right">c</th>
</tr>
</thead>
<tbody>
<tr>
<td class="align-right">1</td>
<td class="align-right">2</td>
<td class="align-right">3</td>
</tr>
</tbody>
</table>
<p>
and text with an empty line in between as well!
</p>
</li>
</ol>
</li>
<li>
<p>
unordered list item 4
</p>
<pre class="example">
with an example
that spans multiple lines
</pre>
</li>
</ul>
<p>
descriptive lists
</p>
<dl>
<dt>
term<dd>
<p>
details
continued details
</p>
<dd>
<dt>
?<dd>
<p>
details without a term
</p>
<dd>
<dt>
term<dd>
<p>
details on a new line
</p>
<dd>
<dt>
term<dd>
<p>
details on a new line (with an empty line in between)
<strong>continued</strong>
</p>
<div class="highlight">
<pre>
echo &#34;Hello World!&#34;
</pre>
</div>
<dd>
</dl>