Add snippet for recipes in org-mode.

This commit is contained in:
tastytea 2020-08-24 01:39:59 +02:00
parent 776b96da47
commit 50c2ba38f1

20
snippets/org-mode/rezept Normal file
View File

@ -0,0 +1,20 @@
# -*- mode: snippet -*-
# name: rezept
# key: rezept
# --
* $1
- Ertrag: $2
- Zubereitungszeit: $3
- Garzeit: $4
** Zutaten
#+name: zutaten_${1:$(my/string-to-var yas-text)}
#+constants: multiplikator_${1:$(my/string-to-var yas-text)}=1
| Zutat | Menge | Gesamtmenge |
|-------+-------+-------------|
| $0 | | |
#+tblfm: \$3=(\$2 * \$multiplikator_${1:$(my/string-to-var yas-text)})
** Anweisungen
-