From 5ce71523aaa49ad2877ed8adb4b0515aa0ed8792 Mon Sep 17 00:00:00 2001 From: John Bowdre Date: Sun, 6 Mar 2022 21:39:07 -0600 Subject: [PATCH] clarity snippets for VS Code --- .vscode/clarity.code-snippets | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .vscode/clarity.code-snippets diff --git a/.vscode/clarity.code-snippets b/.vscode/clarity.code-snippets new file mode 100644 index 0000000..08a2b1c --- /dev/null +++ b/.vscode/clarity.code-snippets @@ -0,0 +1,20 @@ +{ + "Add Hugo Notice": { + "scope": "markdown", + "prefix": "note", + "body": [ + "{{% notice ${1|note,info,tip,warning|} ${2:title} %}}", + "$3", + "{{% /notice %}}" + ], + "description": "create note" + }, + "Add Hugo Reference": { + "scope": "markdown", + "prefix": "ref", + "body": [ + "{{< ref \"$1\" >}}" + ], + "description": "create local ref link" + }, +}