Skip to content

Instantly share code, notes, and snippets.

@drhayes
Created June 14, 2021 15:27
Show Gist options
  • Save drhayes/1e191f7a7385be7d66e295d2acd615be to your computer and use it in GitHub Desktop.
Save drhayes/1e191f7a7385be7d66e295d2acd615be to your computer and use it in GitHub Desktop.
My current custom markdown snippets for Visual Studio Code.
{
"Manual excerpt split": {
"prefix": "more",
"body": [
"<!--more-->"
],
"description": "A properly formatted content summary split which I can never remember."
},
"New note template": {
"prefix": "newnote",
"body": [
"---",
"title: ${1:$TM_FILENAME_BASE}",
"description: $2",
"tags:",
"\t- tag$3",
"created: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"---",
"",
"$0"
],
"description": "Writes out the template for new notes."
},
"Today": {
"prefix": "today",
"body": "$CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"description": "Writes out the date in YYYY-MM-DD format."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment