VSCode Markdown Snippet Not Working

December 06, 2024

Creating a new markdown file for content is now easier with having the frontmatter as template. Although, it didn’t work for me out of the box.

Needed to add this snippet in the settings.json

.vscode/settings.json
{
// ...
"[markdown]": {
"editor.quickSuggestions": {
"other": "on"
}
}
// ...
}

I used this snippet generator ↗️ to generate the snippet.

I just had to type out the prefix and press Tab

vscode markdown snippet

vscode markdown template

This works for both .md and .mdx files.