mirror of
https://github.com/docker/docs.git
synced 2026-11-04 10:01:00 +00:00
add snippet file (#22711)
This commit is contained in:
1 parent
5ad9cd6185
commit
a746d0b1f7
2 files changed
+44
-1
No files matched your search
Vendored
+42
@@ -0,0 +1,42 @@
|
||||
{
|
||||
"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 >}}",
|
||||
"{{< tab name=\"$1\">}}",
|
||||
"",
|
||||
"$2",
|
||||
"",
|
||||
"{{< /tab >}}",
|
||||
"{{< tab name=\"$3\">}}",
|
||||
"",
|
||||
"$4",
|
||||
"",
|
||||
"{{< /tab >}}",
|
||||
"{{</tabs >}}",
|
||||
"",
|
||||
],
|
||||
"description": "Insert a Hugo tabs block with two tabs and snippet stops for names and content",
|
||||
},
|
||||
}
|
||||
Reference in new issue
Block a user