Add new md snippet

This commit is contained in:
2023-09-05 15:13:47 +02:00
parent 302d99fd8b
commit fedb307bd4
4 changed files with 25 additions and 1 deletions

View File

@@ -388,7 +388,7 @@ endsnippet
snippet texmeta "Meta with stamp for better documentation"
% ${1:Name} `!p import random as ran
if not snip.c:
snip.rv = t[1][0] + str(ran.randint(10, 100))`: ${2:Content} on `date` by `echo $USER`
snip.rv = t[1][0] + str(ran.randint(10, 100))`: ${2:Content} on `date` by ${3:`echo $USER`}
$0
endsnippet