From 4ace25611822bf432a0d76d18089ff61870b72b3 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Tue, 21 May 2024 21:40:41 -0700 Subject: [PATCH] add org chef --- .emacs.d/settings.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 872f798..ec7f69b 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -467,3 +467,15 @@ After installing the ~rust-analyzer~, the following can be used: :ensure t) (elcord-mode) #+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