Add basic support for drawers

This commit is contained in:
Niklas Fasching 2018-12-16 23:50:01 +01:00
parent c012b0a533
commit 0186545123
8 changed files with 102 additions and 8 deletions

View file

@ -9,6 +9,18 @@ Headline with todo status & priority
<span class="todo">DONE</span>
Headline with TODO status
</h1>
<p>
the <strong>content</strong>
</p>
<h1>
Headline with tags &amp; priority&#xa0;&#xa0;&#xa0;<span class="tags"><span>foo</span>&#xa0;<span>bar</span></span>
</h1>
<p>
Still outside the drawer
</p>
<p>
This is inside the drawer
</p>
<p>
Still outside the drawer
</p>

View file

@ -1,5 +1,14 @@
* Simple Headline
* TODO [#B] Headline with todo status & priority
* DONE Headline with TODO status
* [#A] Headline with tags & priority :foo:bar:
:PROPERTIES:
:Note: property drawers are not exported as html like other drawers
:END:
the *content*
* [#A] Headline with tags & priority :foo:bar:
Still outside the drawer
:DRAWERNAME:
This is inside the drawer
:END:
Still outside the drawer

View file

@ -46,8 +46,17 @@ src block
* Simple Headline
* TODO [#B] Headline with todo status &amp; priority
* DONE Headline with TODO status
* [#A] Headline with tags &amp; priority :foo:bar:
:PROPERTIES:
:Note: property drawers are not exported as html like other drawers
:END:
the *content*
* [#A] Headline with tags &amp; priority :foo:bar:
Still outside the drawer
:DRAWERNAME:
This is inside the drawer
:END:
Still outside the drawer
</pre>
</div>