Files
docker-docs/.vscode/docker.code-snippets
Craig Osterhout 983d541636 dhi: add initial docs (#22852)
<!--Delete sections as needed -->

## Description

Add initial DHI docs

## Related issues or tickets

ENGDOCS- 22650

## Reviews

<!-- Notes for reviewers here -->
<!-- List applicable reviews (optionally @tag reviewers) -->

- [ ] Technical review
- [ ] Editorial review
- [ ] Product review

---------

Signed-off-by: Craig <craig.osterhout@docker.com>
2025-06-16 22:06:49 +01:00

57 lines
1.7 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",
},
}