Update cloze snippets

master
Hektor Misplon 2023-05-15 13:43:37 +02:00
parent e1e520d365
commit 39cf1a1529
1 changed files with 8 additions and 8 deletions

View File

@ -149,7 +149,7 @@ snippet td "TARGET DECK: <Deck name>"
TARGET DECK: $1::$2 TARGET DECK: $1::$2
endsnippet endsnippet
snippet cloze "Cloze" snippet clo "Cloze"
START START
Cloze Cloze
${0:${VISUAL}}$1 ${0:${VISUAL}}$1
@ -157,17 +157,17 @@ END
$2 $2
endsnippet endsnippet
snippet clozes "Cloze start" snippet clos "Cloze start"
START START
Cloze Cloze
$1 $1
endsnippet endsnippet
snippet clozee "Cloze end" snippet cloe "Cloze end"
END END
endsnippet endsnippet
snippet clozedef snippet clod
START START
Cloze Cloze
**Definition$1** **Definition$1**
@ -176,7 +176,7 @@ $2
END END
endsnippet endsnippet
snippet clozeprop snippet clop
START START
Cloze Cloze
**Property$1** **Property$1**
@ -185,7 +185,7 @@ $2
END END
endsnippet endsnippet
snippet clozetheo snippet clot
START START
Cloze Cloze
**Theorem$1** **Theorem$1**
@ -194,7 +194,7 @@ $2
END END
endsnippet endsnippet
snippet clozelemm snippet clol
START START
Cloze Cloze
**Lemma$1** **Lemma$1**
@ -203,7 +203,7 @@ $2
END END
endsnippet endsnippet
snippet "c(\d+)" "Cloze <number>" br snippet "c(\d+)" "Cloze <number>" r
{{c`!p snip.rv = int(match.group(1))`::${0:${VISUAL}}$1}}$2 {{c`!p snip.rv = int(match.group(1))`::${0:${VISUAL}}$1}}$2
endsnippet endsnippet