From f9f9c31bc38bb8b6475d59c5f6f6499ddf1619a8 Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 14 Jan 2024 13:27:12 +0200 Subject: gnosis-dev: Add y-or-n type --- gnosis-dev.el | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnosis-dev.el b/gnosis-dev.el index 72a9b99..f5003fc 100644 --- a/gnosis-dev.el +++ b/gnosis-dev.el @@ -65,7 +65,15 @@ by the thoracodorsal nerve." :note "this is a {c1:note} with multiple {c1:clozes}" :hint "note" :tags (gnosis-dev-random-items gnosis-dev-tags 2) - :extra "extra"))))) + :extra "extra"))) + (when (y-or-n-p "Add note type y-or-n?") + (dotimes (_ num) + (gnosis-add-note--y-or-n :deck testing-deck + :question "Is Codeine recommended in breastfeeding mothers?" + :hint "hint" + :answer 110 + :extra "extra" + :tags (gnosis-dev-random-items gnosis-dev-tags 2)))))) (defun gnosis-dev-test () "Begin/End testing env. -- cgit v1.2.3