Alex's Slip-box

These are my org-mode notes in sort of Zettelkasten style

Literate programming with org-mode

# Example


First set :tangle header args. This is the location which the file will be written.

:HEADER-ARGS: :tangle lit-test.el

Now, just by calling org-babel-tangle a file called lit-test.el is created with the following code blocks written to it separated by a couple newlines.

# Block 1

#+begin_src emacs-lisp
  (print "foo2")

# Block 2

#+begin_src emacs-lisp
  (print "bar2")