add org chef

This commit is contained in:
Elizabeth Hunt 2024-05-21 21:40:41 -07:00
parent b045e37679
commit 4ace256118
Signed by: simponic
GPG Key ID: 2909B9A7FF6213EE

View File

@ -467,3 +467,15 @@ After installing the ~rust-analyzer~, the following can be used:
:ensure t) :ensure t)
(elcord-mode) (elcord-mode)
#+END_SRC #+END_SRC
* Cookbook
#+BEGIN_SRC emacs-lisp
(use-package org-chef
:config
(setq org-capture-templates
'(("c" "Cookbook" entry (file "~/org/cookbook.org")
"%(org-chef-get-recipe-from-url)"
:empty-lines 1)
("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")))
:ensure t)
#+END_SRC