aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/spine_markup_sample.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2021-06-27 15:27:05 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2021-06-28 14:39:52 -0400
commit4e84f496adb538db3d3fc75134d6e05086332bf9 (patch)
treefab98dc3b98839a6a3457bd340074e96a5d2f094 /org/spine_markup_sample.org
parentnix-build cleanup, external sources localized (diff)
org-mode code block headers
Diffstat (limited to 'org/spine_markup_sample.org')
-rw-r--r--org/spine_markup_sample.org10
1 files changed, 7 insertions, 3 deletions
diff --git a/org/spine_markup_sample.org b/org/spine_markup_sample.org
index 81a510a..92b057f 100644
--- a/org/spine_markup_sample.org
+++ b/org/spine_markup_sample.org
@@ -14,13 +14,15 @@
#+PROPERTY: header-args+ :results no
#+PROPERTY: header-args+ :cache no
#+PROPERTY: header-args+ :padline no
+#+PROPERTY: header-args+ :mkdirp yes
This is not how I would recommend preparing a markup document for spine. It is after all a text file with its own markup. However, as an experiment in developing on org-mode I prepare the document here. Its output is to be found in ../data/pod/sisu-spine-markup
* spine markup sample
** pod.manifest
-#+BEGIN_SRC text :tangle ../data/pod/sisu-spine-markup/pod.manifest
+#+HEADER: :tangle ../data/pod/sisu-spine-markup/pod.manifest
+#+BEGIN_SRC text
doc:
filename: sisu-spine-markup.sst
language: en
@@ -28,13 +30,15 @@ doc:
** conf/sisu_document_make
-#+BEGIN_SRC text :tangle ../data/pod/sisu-spine-markup/conf/sisu_document_make
+#+HEADER: :tangle ../data/pod/sisu-spine-markup/conf/sisu_document_make
+#+BEGIN_SRC text
#+END_SRC
** substantive document
*** tangle
-#+BEGIN_SRC text :tangle ../data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst
+#+HEADER: :tangle ../data/pod/sisu-spine-markup/media/text/en/sisu-spine-markup.sst
+#+BEGIN_SRC text
<<spine_markup_sample_header_metadata>>
<<spine_markup_sample_header_make>>
<<spine_markup_sample_body>>