From fc2ebefa68d344125719dd2a8cce4dfe47bae39f Mon Sep 17 00:00:00 2001 From: coolneng Date: Sun, 3 Apr 2022 18:15:31 +0200 Subject: [PATCH] Set up org-chef with a capture template --- +org.el | 7 +++++++ packages.el | 1 + 2 files changed, 8 insertions(+) diff --git a/+org.el b/+org.el index 12a5e51..fee0ae4 100644 --- a/+org.el +++ b/+org.el @@ -84,3 +84,10 @@ org-pomodoro-short-break-length '15 org-pomodoro-long-break-length '30 org-pomodoro-audio-player "pw-play") +;; Define capture templates +(setq org-capture-templates + '(("c" "Cookbook" entry (file "~/Notes/Recipes.org") + "%(org-chef-get-recipe-from-url)" + :empty-lines 1))) +;; Fix org-chef scraping +(setq org-chef-prefer-json-ld t) diff --git a/packages.el b/packages.el index c9a00e9..ec6340b 100644 --- a/packages.el +++ b/packages.el @@ -6,3 +6,4 @@ ;; (package! another-package :recipe (:host github :repo "username/repo")) ;; (package! builtin-package :disable t) (package! org-super-agenda) +(package! org-chef)