go-org-orgwiki/org/testdata/headlines.html
Ori 4d3a099922 For simple list items, don't wrap in <p> tags
This also removes extra newlines for simple list items, see changes to
tests for details.

Closes #57
2021-07-13 23:41:32 +02:00

116 lines
3.7 KiB
HTML

<nav>
<ul>
<li><a href="#headline-1">Simple Headline <code class="statistic">[1/2]</code></a>
</li>
<li><a href="#headline-2">Headline with todo status &amp; priority</a>
</li>
<li><a href="#this-will-be-the-id-of-the-headline">Headline with TODO status</a>
</li>
<li><a href="#headline-4">Headline with tags &amp; priority</a>
</li>
<li><a href="#headline-5">headline with custom status</a>
</li>
<li><a href="#headline-7">malformed property drawer</a>
</li>
<li><a href="#headline-8">level limit for headlines to be included in the table of contents</a>
</li>
</ul>
</nav>
<div id="outline-container-headline-1" class="outline-2">
<h2 id="headline-1">
Simple Headline <code class="statistic">[1/2]</code>
</h2>
<div id="outline-text-headline-1" class="outline-text-2">
<ul>
<li class="checked">checked</li>
<li class="unchecked">unchecked</li>
<li>note that statistic tokens are marked up anywhere
not just where they are actually meant to be - even here &gt; <code class="statistic">[100%]</code> &lt;
(Org mode proper does the same)</li>
</ul>
</div>
</div>
<div id="outline-container-headline-2" class="outline-2">
<h2 id="headline-2">
<span class="todo">TODO</span>
<span class="priority">[B]</span>
Headline with todo status &amp; priority
</h2>
</div>
<div id="outline-container-this-will-be-the-id-of-the-headline" class="outline-2">
<h2 id="this-will-be-the-id-of-the-headline">
<span class="todo">DONE</span>
Headline with TODO status
</h2>
<div id="outline-text-this-will-be-the-id-of-the-headline" class="outline-text-2">
<p>
we can link to headlines that define a custom_id: <a href="#this-will-be-the-id-of-the-headline">#this-will-be-the-id-of-the-headline</a></p>
</div>
</div>
<div id="outline-container-headline-4" class="outline-2">
<h2 id="headline-4">
<span class="priority">[A]</span>
Headline with tags &amp; priority&#xa0;&#xa0;&#xa0;<span class="tags"><span>foo</span>&#xa0;<span>bar</span></span>
</h2>
<div id="outline-text-headline-4" class="outline-text-2">
<p>Still outside the drawer</p>
<p>This is inside the drawer</p>
<p>Still outside the drawer</p>
</div>
</div>
<div id="outline-container-headline-5" class="outline-2">
<h2 id="headline-5">
<span class="todo">CUSTOM</span>
headline with custom status
</h2>
<div id="outline-text-headline-5" class="outline-text-2">
<p>it&#39;s possible to use <code class="verbatim">#+SETUPFILE</code> - in this case the setup file contains the following</p>
<div class="src src-org">
<div class="highlight">
<pre>
#+TODO: TODO DONE CUSTOM
#+EXCLUDE_TAGS: noexport custom_noexport
</pre>
</div>
</div>
</div>
</div>
<div id="outline-container-headline-7" class="outline-2">
<h2 id="headline-7">
malformed property drawer
</h2>
<div id="outline-text-headline-7" class="outline-text-2">
<p>:PROPERTIES:
not a property</p>
<p>:END:</p>
</div>
</div>
<div id="outline-container-headline-8" class="outline-2">
<h2 id="headline-8">
level limit for headlines to be included in the table of contents
</h2>
<div id="outline-text-headline-8" class="outline-text-2">
<p>The toc option allows setting a <a href="https://orgmode.org/manual/Export-settings.html">level limit</a>. For this file we set it to 1 - which means that the following headlines
won&#39;t be included in the table of contents.</p>
<div id="outline-container-headline-9" class="outline-3">
<h3 id="headline-9">
headline 2 not in toc
</h3>
<div id="outline-text-headline-9" class="outline-text-3">
<div id="outline-container-headline-10" class="outline-4">
<h4 id="headline-10">
headline 3 not in toc
</h4>
</div>
</div>
</div>
<div id="outline-container-headline-11" class="outline-3">
<h3 id="headline-11">
anoter headline 2 not in toc
</h3>
<div id="outline-text-headline-11" class="outline-text-3">
<p>you get the gist…</p>
</div>
</div>
</div>
</div>