Update org-mode title template, add org-babel header template
This commit is contained in:
parent
ccbacd0f35
commit
d3bc9622fb
|
@ -131,6 +131,8 @@ c-mode :when (re-search-backward "^\\S-*$" (line-beginning-position) 'noerror)
|
||||||
|
|
||||||
org-mode
|
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: ")
|
(caption "#+caption: ")
|
||||||
(drawer ":" p ":" n r ":end:")
|
(drawer ":" p ":" n r ":end:")
|
||||||
(begin "#+begin_" (s name) n> r> n "#+end_" name)
|
(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))
|
(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))
|
(elisp "#+begin_src emacs-lisp" n r n "#+end_src" :post (org-edit-src-code))
|
||||||
(inlsrc "src_" p "{" q "}")
|
(inlsrc "src_" p "{" q "}")
|
||||||
(title "#+title: " p n "#+author: Daniel Mendler" n "#+language: en")
|
|
||||||
|
|
||||||
|
|
||||||
python-base-mode
|
python-base-mode
|
||||||
|
|
Loading…
Reference in a new issue