Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Markdown SnippetsNew to Visual Studio Code? Get it now.
Markdown Snippets

Markdown Snippets

ghill2

|
1,167 installs
| (0) | Free
Store code snippets in markdown files and automatically sync them to VSCode snippets.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

markdown-snippets README

Features

Parse Markdown code blocks into VSCode snippets.

  • multiple files.
  • multiple snippets per file.
  • multiple languages per file allowed. See VSCode language identifiers.


Snippet format


## My Cool Snippet

```python pre="hworld" desc="insert hello world"

print("Hello World")

```


IMPORTANT:

The language identifier is needed. See VSCode language identifiers.

The pre, desc tag are optional.



How to use

1) Set this setting in settings.json:

  • markdownSnippets.markdownFolder: The path to the folder with your markdown files.

2) Run command Save Snippets from command palette.

  • Snippets are also exported when VSCode starts up.


Release Notes

1.0.0

Initial release.



More information

  • Visual Studio Code's Markdown Support
  • Markdown Syntax Reference
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft