From ae937c7ab32730e4d01b5306a7dddf456a3bae79 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sat, 13 Jan 2024 09:21:52 -0800 Subject: [PATCH] chore: frontmatter snippet --- .vscode/frontmatter.code-snippets | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .vscode/frontmatter.code-snippets diff --git a/.vscode/frontmatter.code-snippets b/.vscode/frontmatter.code-snippets new file mode 100644 index 00000000..46b51600 --- /dev/null +++ b/.vscode/frontmatter.code-snippets @@ -0,0 +1,17 @@ +{ + "add post frontmatter": { + "prefix": "frontmatter", + "scope": "plaintext,markdown,html", + "body": [ + "---", + "date: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE", + "title: $TM_FILENAME_BASE" + "draft": false, + "description: ''", + "tags: ['']", + "---", + "$2" + ], + "description": "Add frontmatter for new post" + }, +} \ No newline at end of file