76 lines
No EOL
2 KiB
Text
76 lines
No EOL
2 KiB
Text
{
|
|
// Place your verua.dev-1.andreashnida.de workspace snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
|
|
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
|
|
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
|
|
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
|
|
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
|
|
// Placeholders with the same ids are connected.
|
|
// Example:
|
|
// "Print to console": {
|
|
// "scope": "javascript,typescript",
|
|
// "prefix": "log",
|
|
// "body": [
|
|
// "console.log('$1');",
|
|
// "$2"
|
|
// ],
|
|
// "description": "Log output to console"
|
|
// }
|
|
"Insert Shortcode Columns": {
|
|
"scope": "markdown, md",
|
|
"prefix": "columns",
|
|
"body": [
|
|
"{{% columns %}}",
|
|
" $1",
|
|
"{{% /columns %}}",
|
|
],
|
|
"description": "Insert Shortcode Columns"
|
|
},
|
|
"Insert Shortcode Slider": {
|
|
"scope": "markdown, md",
|
|
"prefix": "slider",
|
|
"body": [
|
|
"{{% slider %}}",
|
|
"{{% slide image=\"$1\" ${2:title=\"$3 \"} %}}",
|
|
"{{% /slider %}}",
|
|
],
|
|
"description": "Insert Shortcode Slider"
|
|
},
|
|
"Insert Shortcode AclignCenter": {
|
|
"scope": "markdown, md",
|
|
"prefix": "AlignCenter",
|
|
"body": [
|
|
"{{% aligncenter %}}",
|
|
"$1",
|
|
"{{% /aligncenter %}}",
|
|
],
|
|
"description": "Insert Shortcode AlignCenter"
|
|
},
|
|
"Insert Shortcode Section": {
|
|
"scope": "markdown, md",
|
|
"prefix": "section",
|
|
"body": [
|
|
"{{% section %}}",
|
|
"$1",
|
|
"{{% /section %}}",
|
|
],
|
|
"description": "Insert Shortcode Section"
|
|
},
|
|
"Insert Shortcode card": {
|
|
"scope": "markdown, md",
|
|
"prefix": "card",
|
|
"body": [
|
|
"{{% card %}}",
|
|
"$1",
|
|
"{{% /card %}}",
|
|
],
|
|
"description": "Insert Shortcode Card"
|
|
},
|
|
"Insert Shortcode icon": {
|
|
"scope": "markdown, md",
|
|
"prefix": "icon",
|
|
"body": [
|
|
"{{% icon name=\"$1\" %}}",
|
|
],
|
|
"description": "Insert Shortcode Icon"
|
|
},
|
|
} |