mirror of
https://github.com/docker/docs.git
synced 2026-03-27 22:38:54 +07:00
67 lines
2.0 KiB
Plaintext
67 lines
2.0 KiB
Plaintext
{
|
|
"Insert Hugo Note Admonition": {
|
|
"prefix": ["admonition", "note"],
|
|
"body": ["> [!NOTE]", "> $1"],
|
|
"description": "Insert a Hugo note admonition",
|
|
},
|
|
"Insert Hugo Important Admonition": {
|
|
"prefix": ["admonition", "important"],
|
|
"body": ["> [!IMPORTANT]", "> $1"],
|
|
"description": "Insert a Hugo important admonition",
|
|
},
|
|
"Insert Hugo Warning Admonition": {
|
|
"prefix": ["admonition", "warning"],
|
|
"body": ["> [!WARNING]", "> $1"],
|
|
"description": "Insert a Hugo warning admonition",
|
|
},
|
|
"Insert Hugo Tip Admonition": {
|
|
"prefix": ["admonition", "tip"],
|
|
"body": ["> [!TIP]", "> $1"],
|
|
"description": "Insert a Hugo tip admonition",
|
|
},
|
|
"Insert Hugo Tabs": {
|
|
"prefix": ["admonition", "tabs"],
|
|
"body": [
|
|
"",
|
|
"{{< tabs group=\"$1\" >}}",
|
|
"{{< tab name=\"$2\">}}",
|
|
"",
|
|
"$3",
|
|
"",
|
|
"{{< /tab >}}",
|
|
"{{< tab name=\"$4\">}}",
|
|
"",
|
|
"$5",
|
|
"",
|
|
"{{< /tab >}}",
|
|
"{{</tabs >}}",
|
|
"",
|
|
],
|
|
"description": "Insert a Hugo tabs block with two tabs and snippet stops for names and content",
|
|
},
|
|
"Insert Hugo code block (no title)": {
|
|
"prefix": ["codeblock", "block"],
|
|
"body": ["```${1:json}", "$2", "```", ""],
|
|
"description": "Insert a Hugo code block with an optional title",
|
|
},
|
|
"Insert Hugo code block (with title)": {
|
|
"prefix": ["codeblock", "codettl", "block"],
|
|
"body": ["```${1:json} {title=\"$2\"}", "$3", "```", ""],
|
|
"description": "Insert a Hugo code block with an optional title",
|
|
},
|
|
"Insert a Button": {
|
|
"prefix": ["button"],
|
|
"body": ["{{< button url=\"$1\" text=\"$2\" >}}"],
|
|
"description": "Insert a Hugo button",
|
|
},
|
|
"Insert Visual Studio Code": {
|
|
"prefix": ["vscode", "vs"],
|
|
"body": ["Visual Studio Code"],
|
|
"description": "Insert 'Visual Studio Code'",
|
|
},
|
|
"Insert reusable snippet": {
|
|
"prefix": ["include","reuse"],
|
|
"body": ["{{% include \"$1\" %}}"],
|
|
"description": "Insert a reusable snippet stored in the `includes` folder",
|
|
}
|
|
} |