New answers tagged


You can use the variable org-src-preserve-indentation. If you set it to t before tangling like this: #+begin_src emacs-lisp (setq org-src-preserve-indentation t) #+end_src then the tangle will work as you expect. The variable is defined with a defcustom so it is meant to be customized as you wish. You can either set it in your init file as above or ...

Top 50 recent answers are included