Org supports exporting to all sorts of file formats, and one of them is org itself.
Thank you! I almost thought this was going to work for me, but I can't use the #+PROPERTY: header-args line, because I have customized header-args for each code block individually. Each of my code blocks should be tangled to a different file. The only problem is that these block-level header args appear to be stripped out (!) by (org-export-to-file 'org export-file).
Thank you! I almost thought this was going to work for me, but I can't use the
#+PROPERTY: header-args
line, because I have customized header-args for each code block individually. Each of my code blocks should be tangled to a different file. The only problem is that these block-level header args appear to be stripped out (!) by(org-export-to-file 'org export-file)
.This, from the include file :
Becomes this, in the exported org document (Args are stripped!) :
So therefore no code blocks are tangled because none have the
:tangle
argument :(