Skip to content

ClydeDz/format-my-markdown-vscode-ext

Repository files navigation

Format My Markdown

A VSCode extension that allows you to format selected markdown text using context menu options.

Visual Studio Marketplace

Features

This extension adds the following formatting options to the context menu when you select text in a markdown file:

  • Bold - Wraps selected text with **text**
  • Italic - Wraps selected text with _text_
  • Strikethrough - Wraps selected text with ~~text~~
  • Inline Code - Wraps selected text with `text`
  • Code Block - Wraps selected text with triple backticks
  • Link - Converts selected text to a markdown link (prompts for URL)

Usage

Quick Pick Menu (Recommended)

  1. Open a markdown file (.md)
  2. Select the text you want to format
  3. Press Cmd+Shift+M (Mac) or Ctrl+Shift+M (Windows/Linux)
  4. Choose a formatting option from the menu

Context Menu

  1. Open a markdown file (.md)
  2. Select the text you want to format
  3. Right-click to open the context menu
  4. Choose one of the markdown formatting options

Extension Settings

This extension does not add any VSCode settings.

Credits

Developed by Clyde D'Souza