Add support for SETUP_FILE

This commit is contained in:
Niklas Fasching 2018-12-19 19:54:15 +01:00
parent 3ccbbc46ff
commit c23f8cc281
6 changed files with 57 additions and 0 deletions

View file

@ -45,3 +45,15 @@ This is inside the drawer
<p>
Still outside the drawer
</p>
<h1>
<span class="todo">CUSTOM</span>
headline with custom status
</h1>
<p>
it&#39;s possible to use <code class="verbatim">#+SETUP_FILE</code> - in this case the setup file contains the following
</p>
<div class="highlight">
<pre>
#+TODO: TODO DONE CUSTOM
</pre>
</div>

View file

@ -1,3 +1,4 @@
#+SETUP_FILE: setup_file_org
* Simple Headline [1/2]
- [X] checked
- [ ] unchecked
@ -18,3 +19,7 @@ Still outside the drawer
This is inside the drawer
:END:
Still outside the drawer
* CUSTOM headline with custom status
it's possible to use =#+SETUP_FILE= - in this case the setup file contains the following
#+INCLUDE: "setup_file_org" src org

View file

@ -1,3 +1,4 @@
#+SETUP_FILE: setup_file_org
* Simple Headline [1/2]
- [X] checked
- [ ] unchecked
@ -18,3 +19,7 @@ Still outside the drawer
This is inside the drawer
:END:
Still outside the drawer
* CUSTOM headline with custom status
it's possible to use =#+SETUP_FILE= - in this case the setup file contains the following
#+INCLUDE: "setup_file_org" src org

View file

@ -43,6 +43,7 @@ src block
</p>
<div class="highlight">
<pre>
#+SETUP_FILE: setup_file_org
* Simple Headline [1/2]
- [X] checked
- [ ] unchecked
@ -63,6 +64,10 @@ Still outside the drawer
This is inside the drawer
:END:
Still outside the drawer
* CUSTOM headline with custom status
it&#39;s possible to use =#+SETUP_FILE= - in this case the setup file contains the following
#+INCLUDE: &#34;setup_file_org&#34; src org
</pre>
</div>
</li>

1
org/testdata/setup_file_org vendored Normal file
View file

@ -0,0 +1 @@
#+TODO: TODO DONE CUSTOM