Add new md snippet

This commit is contained in:
Yannick Reiß 2023-09-05 15:13:47 +02:00
parent 302d99fd8b
commit fedb307bd4
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
4 changed files with 25 additions and 1 deletions

View File

@ -44,3 +44,18 @@ endsnippet
snippet ,m "Math equation" A
\$\$ $1 \$\$ $0
endsnippet
snippet entry "Add new entry" bA
-----------------------------------------------------------
## $1 ##
### Date: ${2:`date`} ###
### Author: ${3:`whoami`} ###
### Host: `hostname` ###
-----------------------------------------------------------
Tags: $4
$5
-----------------------------------------------------------
$0
endsnippet

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

View File

@ -21,3 +21,12 @@ Konstantenregel
itemize
Maschengleichungen
Maschenstromverfahren
rho
green
Maschensatz
Maschenregel
Date
Author
Lian
Sep
CEST

Binary file not shown.