tips while using org-babel

Oct 27, 2020
1 min read

multiple block tangle to single file

first format

use `:noweb yes` and variable as placeholder. write code block with header `:noweb-ref `

<<config>>

<<next-config>>
(println "hello")
(println "this following")
(println "this is another ways")

use name and collect

(setq msg "Never a foot too far, even.")

(message msg)

(message "good bye")
good bye
<<init>>

<<msg>>

<<goodbye>>
good bye

See Also