Add snippet for recipes in org-mode.
This commit is contained in:
parent
776b96da47
commit
50c2ba38f1
20
snippets/org-mode/rezept
Normal file
20
snippets/org-mode/rezept
Normal 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
|
||||
-
|
Loading…
Reference in New Issue
Block a user