{"id":20125918,"url":"https://github.com/robole/vscode-markdown-snippets","last_synced_at":"2025-05-06T17:34:51.545Z","repository":{"id":51122207,"uuid":"287812701","full_name":"robole/vscode-markdown-snippets","owner":"robole","description":"Extended Markdown snippets.","archived":true,"fork":false,"pushed_at":"2023-04-08T21:21:49.000Z","size":185,"stargazers_count":11,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T14:49:44.469Z","etag":null,"topics":["extension","markdown","markdown-snippets","visual-studio-code","vscode","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=robole.markdown-snippets","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robole.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-15T19:34:50.000Z","updated_at":"2024-07-17T02:38:22.000Z","dependencies_parsed_at":"2022-09-13T14:13:07.679Z","dependency_job_id":null,"html_url":"https://github.com/robole/vscode-markdown-snippets","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-markdown-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-markdown-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-markdown-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-markdown-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robole","download_url":"https://codeload.github.com/robole/vscode-markdown-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252734452,"owners_count":21796018,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extension","markdown","markdown-snippets","visual-studio-code","vscode","vscode-extension"],"created_at":"2024-11-13T20:11:46.051Z","updated_at":"2025-05-06T17:34:51.225Z","avatar_url":"https://github.com/robole.png","language":null,"readme":"\u003ch1 align=\"center\"\u003e\r\n  \u003cbr\u003e\r\n    \u003cimg align=\"center\" src=\"img/logo.png\" width=\"200\"\u003e\r\n  \u003cbr\u003e\r\n\t\u003cbr\u003e\r\n  Markdown Snippets\r\n  \u003cbr\u003e\r\n  \u003cbr\u003e\r\n\u003c/h1\u003e\r\n\u003ch4 align=\"center\"\u003eExtended Markdown snippets.\u003c/h4\u003e\r\n\r\n\u003cp align=\"center\"\u003e\r\n\u003cimg src=\"https://img.shields.io/static/v1?logo=visual-studio-code\u0026label=made%20for\u0026message=VS%20Code\u0026color=0000ff\" alt=\"Made for VSCode\"\u003e\r\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/v/robole.markdown-snippets?logo=visual-studio-code\u0026color=ffa500\" alt=\"Visual Studio Marketplace Version\"\u003e\r\n\u003cimg src=\"https://img.shields.io/static/v1?logo=visual-studio-code\u0026label=size\u0026message=11KB\u0026color=008000\"\r\nalt=\"Extension file size in bytes\"\u003e\r\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/r/robole.markdown-snippets?logo=visual-studio-code\u0026color=yellow\" alt=\"Visual Studio Marketplace Rating\"\u003e\r\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/d/robole.markdown-snippets?logo=visual-studio-code\u0026color=blue\" alt=\"downloads\"/\u003e\r\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/i/robole.markdown-snippets?logo=visual-studio-code\u0026color=blue\" alt=\"installs\"/\u003e\r\n\u003cimg src=\"https://img.shields.io/static/v1?label=built%20with\u0026message=good%20vibrations\u0026color=purple\" alt=\"Built with\"/\u003e\r\n\u003ca href=\"https://ko-fi.com/roboleary\"\u003e\u003cimg src=\"https://img.shields.io/badge/Buy%20me%20a%20coffee-$4-orange?logo=buy-me-a-coffee\" alt=\"Buy me a coffee\"\u003e\u003c/a\u003e\r\n\u003c/p\u003e\r\n\r\n![insert table](img/table.gif)\r\n\r\n## Activation\r\n\r\nThe snippets are only active in Markdown files (defined by `markdown` [language identifier](https://code.visualstudio.com/docs/languages/identifiers)).\r\n\r\n## Snippets\r\n\r\n| Name                   | Prefix        | Body                                                                                                                      |\r\n|------------------------|---------------|---------------------------------------------------------------------------------------------------------------------------|\r\n| Insert table           | table         | Insert a table with 2 rows and 3 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 2x1 table       | 2x1table      | Insert a table with 2 rows and 1 column. You can tab through each cell to   edit the text.                                |\r\n| Insert 3x1 table       | 3x1table      | Insert a table with 3 rows and 1 column. You can tab through each cell to   edit the text.                                |\r\n| Insert 4x1 table       | 4x1table      | Insert a table with 4 rows and 1 column. You can tab through each cell to   edit the text.                                |\r\n| Insert 5x1 table       | 5x1table      | Insert a table with 5 rows and 1 column. You can tab through each cell to   edit the text.                                |\r\n| Insert 2x2 table       | 2x2table      | Insert a table with 2 rows and 2 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 3x2 table       | 3x2table      | Insert a table with 3 rows and 2 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 4x2 table       | 4x2table      | Insert a table with 4 rows and 2 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 5x2 table       | 5x2table      | Insert a table with 5 rows and 2 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 2x3 table       | 2x3table      | Insert a table with 2 rows and 3 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 3x3 table       | 3x3table      | Insert a table with 3 rows and 3 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 4x4 table       | 4x3table      | Insert a table with 4 rows and 3 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert 5x5 table       | 5x5table      | Insert a table with 5 rows and 5 columns. You can tab through each cell   to edit the text.                               |\r\n| Insert task list       | task     | Insert  a task list with 1 task.   You can tab through item to set the status (complete/incomplete) and edit the   text. |\r\n| Insert task list 2     | task2   | Insert  a task list with 2 tasks.   You can tab through item to set the status (complete/incomplete) and edit the   text. |\r\n| Insert task list 3     | task3   | Insert  a task list with 3 tasks.   You can tab through item to set the status (complete/incomplete) and edit the   text. |\r\n| Insert task list 4     | task4   | Insert  a task list with 4 tasks.   You can tab through item to set the status (complete/incomplete) and edit the   text. |\r\n| Insert task list 5     | task5   | Insert  a task list with 5 tasks.   You can tab through item to set the status (complete/incomplete) and edit the   text. |\r\n\r\nYou can install the [Snippets Ranger extension](https://marketplace.visualstudio.com/items?itemName=robole.snippets-ranger) to view this list inside VS Code.\r\n\r\n## Contribute\r\n\r\n**This extension is considered complete and is closed to contributions**. The associated GitHub repository is archived.\r\n\r\n## FAQ\r\n\r\n### 1) Where do the standard markdown snippets come from?\r\n\r\nThere is a set of snippets for the standard markdown syntax installed with VS Code as part of the built-in markdown extension. [This is the source file](https://github.com/microsoft/vscode/blob/94c9ea46838a9a619aeafb7e8afd1170c967bb55/extensions/markdown-basics/snippets/markdown.code-snippets).\r\n\r\nI recommend installing the [Snippets Ranger extension](https://marketplace.visualstudio.com/items?itemName=robole.snippets-ranger) if you want a simple way to view the built-in snippets.\r\n\r\n### 2) How do I use the snippets?\r\n\r\nTo insert a snippet, you can just type one of the prefixes in a markdown file, and you will be offered a completion suggestion. The setting `Editor: Snippet Suggestions` controls whether snippets are shown with other suggestions and how they are sorted. By default, they are shown inline.\r\n\r\nAlternatively, you can open the Command Palette (`Ctrl+Shift+P`) and run the command \"Insert Snippet\", which presents you with a list to choose from.\r\n\r\n### 3) How do I add shortcuts for these snippets?\r\n\r\nRun the command `Preferences: Open Keyboard Shortcuts (JSON)` to open the keyboard shortcuts config (*keybindings.json*). Add an new object to the array such as this:\r\n\r\n```JSON\r\n[\r\n\r\n\t{\r\n\t\t\"key\": \"ctrl+t\",\r\n\t\t\"mac\": \"cmd+t\",\r\n\t\t\"command\": \"editor.action.insertSnippet\",\r\n\t\t\"when\": \"!editorReadonly \u0026\u0026 editorLangId == markdown\",\r\n\t\t\"args\": {\r\n\t\t\t\"langId\": \"markdown\",\r\n\t\t\t\"name\": \"Insert task list\"\r\n\t\t}\r\n\t}\r\n\r\n]\r\n```\r\n\r\nThe `args.name` property \u003cu\u003emust exactly match\u003c/u\u003e the snippet name.\r\n\r\nI created the [Markdown Shortcuts extension](https://marketplace.visualstudio.com/items?itemName=robole.markdown-shortcuts) to provide shortcuts for all markdown snippets if this is something you want. You can override my selections if you want, read the extension README for more info.\r\n\r\n### 4) Where can I learn more about snippets?\r\n\r\nYou can read my comprehensive guide on Snippets on FreeCodeCamp: [Visual Studio Code Snippets – the Definitive VS Code Snippet Guide for Beginners](https://www.freecodecamp.org/news/definitive-guide-to-snippets-visual-studio-code/). It's not just for beginners! 😉\r\n\r\n### 5) Where can I learn more about keyboard shortcuts?\r\n\r\nYou can read my article - [VS Code keyboard-fu: custom keyboard shortcuts that will boost your productivity](https://www.roboleary.net/2022/02/28/vscode-keyboard-fu-custom-keyboard-shortcuts.html).\r\n","funding_links":["https://ko-fi.com/roboleary"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobole%2Fvscode-markdown-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobole%2Fvscode-markdown-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobole%2Fvscode-markdown-snippets/lists"}