Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
**/.DS_Store
**/desktop.ini
.vscode
.vscode/settings.json
.vscode/tasks.json
node_modules
.hugo_build.lock
resources
Expand Down
42 changes: 42 additions & 0 deletions .vscode/docker.code-snippets
Original file line number Diff line number Diff line change
@@ -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",
},
}