{"id":13340404,"url":"https://github.com/robole/vscode-marky-edit","last_synced_at":"2026-05-07T01:09:54.422Z","repository":{"id":54243922,"uuid":"290573955","full_name":"robole/vscode-marky-edit","owner":"robole","description":"Toggle-style editing for Markdown documents.","archived":false,"fork":false,"pushed_at":"2022-06-29T15:16:44.000Z","size":741,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-09T21:51:38.191Z","etag":null,"topics":["extension","markdown","markdown-editor","visual-studio-code","visual-studio-code-extension","vscode-extension"],"latest_commit_sha":null,"homepage":"https://marketplace.visualstudio.com/items?itemName=robole.marky-edit\u0026ssr=false","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","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":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-26T18:26:04.000Z","updated_at":"2023-09-13T18:09:21.000Z","dependencies_parsed_at":"2022-08-13T09:50:59.631Z","dependency_job_id":null,"html_url":"https://github.com/robole/vscode-marky-edit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/robole/vscode-marky-edit","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-marky-edit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-marky-edit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-marky-edit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-marky-edit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robole","download_url":"https://codeload.github.com/robole/vscode-marky-edit/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robole%2Fvscode-marky-edit/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":275062953,"owners_count":25398887,"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","status":"online","status_checked_at":"2025-09-14T02:00:10.474Z","response_time":75,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-editor","visual-studio-code","visual-studio-code-extension","vscode-extension"],"created_at":"2024-07-29T19:22:32.910Z","updated_at":"2026-05-07T01:09:49.403Z","avatar_url":"https://github.com/robole.png","language":"JavaScript","funding_links":["https://ko-fi.com/roboleary"],"categories":[],"sub_categories":[],"readme":"\u003ch1 align=\"center\"\u003e\n  \u003cbr\u003e\n  \u003cimg align=\"center\" src=\"img/logo.png\" width=\"200\"\u003e\n  \u003cbr\u003e\n\t\u003cbr\u003e\n  Marky Edit\n  \u003cbr\u003e\n  \u003cbr\u003e\n\u003c/h1\u003e\n\u003ch4 align=\"center\"\u003eToggle-style editing for Markdown documents\u003c/h4\u003e\n\n\u003cp align=\"center\"\u003e\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\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/v/robole.marky-edit?logo=visual-studio-code\u0026color=ffa500\" alt=\"Visual Studio Marketplace Version\"\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?logo=visual-studio-code\u0026label=size\u0026message=22KB\u0026color=008000\"\nalt=\"Extension file size in bytes\"\u003e\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/r/robole.marky-edit?logo=visual-studio-code\u0026color=yellow\" alt=\"Visual Studio Marketplace Rating\"\u003e\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/d/robole.marky-edit?logo=visual-studio-code\u0026color=blue\" alt=\"downloads\"/\u003e\n\u003cimg src=\"https://img.shields.io/visual-studio-marketplace/i/robole.marky-edit?logo=visual-studio-code\u0026color=blue\" alt=\"installs\"/\u003e\n\u003cimg src=\"https://img.shields.io/static/v1?label=built%20with\u0026message=good%20vibrations%20%26%20javascript\u0026color=violet\" alt=\"Built with carrot juice and javascript\"/\u003e\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\n\u003c/p\u003e\n\nToggle-style editing offers a more natural editing experience. It enables you to mark or unmark text as you type.\n\n![toggleStrongEmphasis demo](img/screenshots/toggleStrong.gif)\n\nIt enables you to insert markdown fragments as snippets for simple completion.\n\n![toggleCodeBlock demo](img/screenshots/toggleCodeBlock.gif)\n\nTogether this helps you maintain control of the cursor and avoid losing your place while you write.\n\n### Commands\n\nThe commands in the table below can be run from the Command Palette (`Ctrl+Shift+P`).\n\n| Name                            | Title                                             |\n|---------------------------------|---------------------------------------------------|\n| marky-edit.toggleDelete         | Marky Edit: Toggle Delete (Strikethrough)         |\n| marky-edit.toggleEmphasis       | Marky Edit: Toggle Emphasis (Italic)              |\n| marky-edit.toggleCodeBlock      | Marky Edit: Toggle Fenced Code Block              |\n| marky-edit.toggleHeading1       | Marky Edit: Toggle Heading 1                      |\n| marky-edit.toggleHeading2       | Marky Edit: Toggle Heading 2                      |\n| marky-edit.toggleHeading3       | Marky Edit: Toggle Heading 3                      |\n| marky-edit.toggleHeading4       | Marky Edit: Toggle Heading 4                      |\n| marky-edit.toggleHeading5       | Marky Edit: Toggle Heading 5                      |\n| marky-edit.toggleHeading6       | Marky Edit: Toggle Heading 6                      |\n| marky-edit.toggleHorizontalRule | Marky Edit: Toggle Thematic Break (Horizontal Rule)                |\n| marky-edit.toggleImage          | Marky Edit: Toggle Image                          |\n| marky-edit.toggleInlineCode     | Marky Edit: Toggle Inline Code                    |\n| marky-edit.toggleLink           | Marky Edit: Toggle Link                           |\n| marky-edit.toggleOrderedList    | Marky Edit: Toggle Ordered List (Numbered List)   |\n| marky-edit.toggleQuote          | Marky Edit: Toggle Quote                          |\n| marky-edit.toggleStrongEmphasis | Marky Edit: Toggle Strong Emphasis (Bold)         |\n| marky-edit.toggleUnorderedList  | Marky Edit: Toggle Unordered List (Bulleted List) |\n\n### Inline Commands\n\nInline commands target a fragment within a line.\n\nThe table below demonstrates how the command `marky-edit.toggleStrongEmphasis` behaves for different scenarios. This pattern of behaviour is followed by all inline commands.\n\n![Inline commands](img/toggleStrongEmphasisScenarios.png)\n\nThe inline markdown commands are:\n- `marky-edit.toggleStrongEmphasis`\n- `marky-edit.toggleEmphasis`\n- `marky-edit.toggleDelete`\n- `marky-edit.toggleInlineCode`\n- `marky-edit.toggleImage`\n- `marky-edit.toggleLink`\n\nThere are 2 points worth noting:\n1. If there is no selection, it will insert a snippet. This enables you to navigate through the entry with tabstops (see item 2 in table).\n1. If there is no selection but it is within the boundary of a word, it will perform the edit command on that word (see item 3 and 5 in the table).\n\nThere is *one exception* to this, for the commands `marky-edit.toggleLink` and `marky-edit.toggleImage`, when you want to remove the markdown you have to make a complete selection like item 5 in the table. Item 4 in the table does *not* apply to these commands. It is more likely that you would delete the entire text fragment, rather than just remove the markdown!\n\n### Line Commands\n\nLine commands apply to an entire line.\n\n![toggleHeading1 demo](img/screenshots/toggleHeading1.gif)\n\nThe line commands are:\n- `marky-edit.toggleHorizontalRule`\n- `marky-edit.toggleHeading1`\n- `marky-edit.toggleHeading2`\n- `marky-edit.toggleHeading3`\n- `marky-edit.toggleHeading4`\n- `marky-edit.toggleHeading5`\n- `marky-edit.toggleHeading6`\n\nIf there is text on the current line and the command is execute, the existing text will be overwritten.\n\n### Block Commands\n\nBlock commands perform multi-line edits.\n\n![toggleCodeBlock demo](img/screenshots/toggleOrderedList.gif)\n\nThe block commands are:\n- `marky-edit.toggleCodeBlock`\n- `marky-edit.toggleOrderedList`\n- `marky-edit.toggleUnorderedList`\n\n## Keyboard Shortcuts\n\nI chose only to add shortcuts for emphasis and strong emphasis. I don't think it is a good idea to decide all of these settings for others, so I did not add any more!\n\n| Command                         | Shortcut                                 | When                                                               |\n|---------------------------------|--------------------------------------------|--------------------------------------------------------------------|\n| marky-edit.toggleEmphasis       | Mac: `Cmd + I` \u003cbr\u003e Windows: `Ctrl + I`\u003cbr\u003eLinux: `Ctrl + I`| editorTextFocus \u0026\u0026 !editorReadonly \u0026\u0026 editorLangId ==   markdown |\n| marky-edit.toggleStrongEmphasis | Mac: `Cmd + B` \u003cbr\u003e Windows: `Ctrl + B`\u003cbr\u003e Linux: `Ctrl + B` | editorTextFocus \u0026\u0026 !editorReadonly \u0026\u0026 editorLangId ==   markdown |\n\nI would recommend adding shortcuts for the other commands to be able to edit everything with the keyboard. To do this, you open the JSON file for Keyboard Shortcuts with the command `Preferences: Open Keyboard Shortcuts (JSON)`. To add a shortcut, add an object like below:\n\n```JSON\n{\n\t\"key\": \"ctrl+b\",\n\t\"mac\": \"cmd+b\",\n\t\"command\": \"marky-edit.toggleStrongEmphasis\",\n\t\"when\": \"editorTextFocus \u0026\u0026 !editorReadonly \u0026\u0026 editorLangId == markdown\"\n}\n```\n\nThe *key* property creates a shortcut for all Operating Systems. The *mac*, *windows*, and *linux* properties allow you to create OS-specific shortcuts.\n\nI recommend using the same *when* clause as above.\n\nYou can read more about shortcuts in the [official docs](https://code.visualstudio.com/docs/getstarted/keybindings).\n\n## Installation\n\n1. It is listed in the [VS Code Marketplace](https://marketplace.visualstudio.com/items?itemName=robole.marky-edit) and [Open VSX Marketplace](https://open-vsx.org/extension/robole/marky-edit) where you can download or install it directly.\n1. Inside VS Code: Type `Ctrl+P`, write `ext install robole.marky-edit` in the text field, and hit `Enter`.\n1. From the Command-line: Run the command `code --install-extension robole.marky-edit`.\n\n## Show gratitude\n\nIf you are happy with the extension, please star the repo, and leave a review to help others find it. 🌟\n\nYou can [buy me a coffee](https://ko-fi.com/roboleary) if you would like to support me in my quest to make more great open-source software. ☕🙏\n\n## Contribute\n\nIf you have a suggestion or find a bug, please file an issue.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobole%2Fvscode-marky-edit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobole%2Fvscode-marky-edit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobole%2Fvscode-marky-edit/lists"}