Skip to content

Instantly share code, notes, and snippets.

@hidao80
Last active July 26, 2026 05:06
Show Gist options
  • Select an option

  • Save hidao80/8ae76ae53fa4e09c6cefb35dd5eb134d to your computer and use it in GitHub Desktop.

Select an option

Save hidao80/8ae76ae53fa4e09c6cefb35dd5eb134d to your computer and use it in GitHub Desktop.
VS Code user snippets for Markdown file frontmatter management for markdown-vault.
{
"Frontmatter for markdown vault": {
"prefix": "@@frontmatter",
"body": [
"---",
"name: $TM_FILENAME_BASE",
"description: $2",
"created_at: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"updated_at: $CURRENT_YEAR-$CURRENT_MONTH-$CURRENT_DATE",
"author: ${0:hidao}",
"tags: [\"$1\"]",
"references_to:",
" - ",
"rules:",
" - ",
"---",
"",
"# $TM_FILENAME_BASE"
],
"description": "Insert Markdown frontmatter for a Markdown vault."
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment