Feat: add my snippets

This commit is contained in:
Bertrand Benjamin 2021-08-28 22:41:07 +02:00
parent d79af567a3
commit bd189488ef
2 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
"image": {
"prefix": "image",
"body": [
".. image:: $1",
"\t:height: 200px",
"\t:alt: $2",
"$0"
],
"description": "Insert image"
},
"etape": {
"prefix": ["etape", "étape"],
"body": [
"Étape ${1:1}: $2",
"$0"
],
"description": "Insert image"
}
}

View File

@ -0,0 +1,31 @@
{
"tabular": {
"prefix": "tabular",
"body": [
"\\\\begin{tabular}{$1}",
"\\\\hline",
"\t$0",
"\\\\hline",
"\\\\end{tabular}"
],
"description": "tabular"
},
"center": {
"prefix": "center",
"body": [
"\\\\begin{center}",
"\t$0",
"\\\\end{center}"
],
"description": "center"
},
"minipage": {
"prefix": "minipage",
"body": [
"\\\\begin{minipage}{${1:0.5}${2:\\\\linewidth}}",
"\t$0",
"\\\\end{minipage}"
],
"description": "minipage"
}
}