chore: frontmatter snippet
This commit is contained in:
parent
5bae97ccb5
commit
ae937c7ab3
1 changed files with 17 additions and 0 deletions
17
.vscode/frontmatter.code-snippets
vendored
Normal file
17
.vscode/frontmatter.code-snippets
vendored
Normal file
|
@ -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"
|
||||
},
|
||||
}
|
Reference in a new issue