Org mode does not care where those tokens are when it comes to the export (afaict). We'll do the same. (They should only be in the first line of a list item or a headline)
47 lines
831 B
HTML
47 lines
831 B
HTML
<h1>
|
|
Simple Headline <code class="statistic">[1/2]</code>
|
|
</h1>
|
|
<ul>
|
|
<li>
|
|
<p>
|
|
[X] checked
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
[ ] unchecked
|
|
</p>
|
|
</li>
|
|
<li>
|
|
<p>
|
|
note that statistic tokens are marked up anywhere
|
|
not just where they are actually meant to be - even here > <code class="statistic">[100%]</code> <
|
|
(Org mode proper does the same)
|
|
</p>
|
|
</li>
|
|
</ul>
|
|
<h1>
|
|
<span class="todo">TODO</span>
|
|
<span class="priority">B</span>
|
|
Headline with todo status & priority
|
|
</h1>
|
|
<h1>
|
|
<span class="todo">DONE</span>
|
|
Headline with TODO status
|
|
</h1>
|
|
<p>
|
|
the <strong>content</strong>
|
|
</p>
|
|
<h1>
|
|
<span class="priority">A</span>
|
|
Headline with tags & priority   <span class="tags"><span>foo</span> <span>bar</span></span>
|
|
</h1>
|
|
<p>
|
|
Still outside the drawer
|
|
</p>
|
|
<p>
|
|
This is inside the drawer
|
|
</p>
|
|
<p>
|
|
Still outside the drawer
|
|
</p>
|