Feat: add my snippets
This commit is contained in:
parent
d79af567a3
commit
bd189488ef
|
@ -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"
|
||||
}
|
||||
}
|
|
@ -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"
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue