Daniel Ziltener <dzilte...@lyrion.ch> writes: > From: Daniel Ziltener <dzilte...@lyrion.ch> > > * lisp/ob-tangle.el (org-babel-tangle-single-block): strip noweb tags > from block if :noweb has been set to strip-tangle. > * lisp/ob-core.el (org-babel-common-header-args-w-values): add > "strip-tangle" as new allowed value. > * testing/lisp/test-ob-tangle.el (ob-tangle/strip-tangle): add new test > case for strip-tangle. > * doc/org-manual.org (Noweb Reference Syntax): adjust documentation for > the noweb header argument. > * etc/ORG-NEWS: add entry for new header argument value. > > This patch adds the "strip-tangle" option for the :noweb header > argument. This strips the noweb tags before tangling the block. This can > be useful for e.g. testing purposes where one wants to use a block as > test case that can be both run inline as well as tangled into a file for > automated testing.
Thanks, but it looks like your PGP signature corrupted the email patch. Could you please create a separate patch file and attach it in the reply? -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>