Setup org-chef

This commit is contained in:
Nathan McCarty 2022-11-14 16:42:44 -05:00
parent 4ea2d6d3a0
commit bf344011ce
Signed by: thatonelutenist
GPG Key ID: D70DA3DD4D1E9F96
2 changed files with 13 additions and 0 deletions

View File

@ -620,6 +620,18 @@ Then, hook into babel and apply those colors
(ansi-color-apply-on-region beg end)))))) (ansi-color-apply-on-region beg end))))))
(add-hook 'org-babel-after-execute-hook 'nm/babel-ansi)) (add-hook 'org-babel-after-execute-hook 'nm/babel-ansi))
#+end_src #+end_src
** Org Chef
#+begin_src emacs-lisp
(use-package! org-chef
:config
(add-to-list 'org-capture-templates
'("c" "Cookbook" entry (file "~/Org/cookbook.org")
"%(org-chef-get-recipe-from-url)"
:empty-lines 1))
(add-to-list 'org-capture-templates
'("m" "Manual Cookbook" entry (file "~/Org/cookbook.org")
"* %^{Recipe title: }\n :PROPERTIES:\n :source-url:\n :servings:\n :prep-time:\n :cook-time:\n :ready-in:\n :END:\n** Ingredients\n %?\n** Directions\n\n")))
#+end_src
* General Modes * General Modes
** Magit ** Magit
Further configuration for magit Further configuration for magit

View File

@ -73,3 +73,4 @@
:repo "idris-community/idris2-mode" :repo "idris-community/idris2-mode"
:branch "main")) :branch "main"))
(package! per-buffer-theme) (package! per-buffer-theme)
(package! org-chef)