Update org-mode title template, add org-babel header template

This commit is contained in:
Evie Litherland-Smith 2024-02-21 14:14:05 +00:00
parent ccbacd0f35
commit d3bc9622fb

View file

@ -131,6 +131,8 @@ c-mode :when (re-search-backward "^\\S-*$" (line-beginning-position) 'noerror)
org-mode
(title "#+title: " p n "#+author: " p n "#+email: " p n "#+language: en")
(babel "#+property: header-args:emacs-lisp :tangle yes :mkdirp yes :results output silent")
(caption "#+caption: ")
(drawer ":" p ":" n r ":end:")
(begin "#+begin_" (s name) n> r> n "#+end_" name)
@ -148,7 +150,6 @@ org-mode
(gnuplot "#+begin_src gnuplot :var data=" (p "table") " :file " (p "plot.png") n r n "#+end_src" :post (org-edit-src-code))
(elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code))
(inlsrc "src_" p "{" q "}")
(title "#+title: " p n "#+author: Daniel Mendler" n "#+language: en")
python-base-mode