From 4e84f496adb538db3d3fc75134d6e05086332bf9 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sun, 27 Jun 2021 15:27:05 -0400 Subject: org-mode code block headers --- org/spine.org | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'org/spine.org') diff --git a/org/spine.org b/org/spine.org index 1ede22e..aa928b0 100644 --- a/org/spine.org +++ b/org/spine.org @@ -14,6 +14,7 @@ #+PROPERTY: header-args+ :results no #+PROPERTY: header-args+ :cache no #+PROPERTY: header-args+ :padline no +#+PROPERTY: header-args+ :mkdirp yes [[./spine_info.org][spine_info.org]] [[./][org/]] [[./spine_build_scaffold.org][make/build]] VERSION @@ -21,7 +22,8 @@ * 0. version.txt (set version) :version: ** 0. set program tangle -#+BEGIN_SRC txt :tangle "../views/version.txt" +#+HEADER: :tangle "../views/version.txt" +#+BEGIN_SRC txt <> <> <> @@ -83,7 +85,9 @@ version (Posix) { - by sourcefiles contents identifier - by zip filename -#+BEGIN_SRC d :tangle "../src/doc_reform/spine.d" :shebang "#!/usr/bin/env rdmd" +#+HEADER: :tangle "../src/doc_reform/spine.d" +#+HEADER: :shebang "#!/usr/bin/env rdmd" +#+BEGIN_SRC d <> module doc_reform.sisu_document_parser; /++ @@ -1304,7 +1308,8 @@ break; // terminate, stop *** 0 module template - abstraction template -#+BEGIN_SRC d :tangle "../src/doc_reform/meta/metadoc.d" +#+HEADER: :tangle "../src/doc_reform/meta/metadoc.d" +#+BEGIN_SRC d module doc_reform.meta.metadoc; template spineAbstraction() { <> -- cgit v1.2.3