ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Markdown​Code​Block​Wrapper

by kenspirit ALL

Github Flavored Markdown Code Block Wrapper

Details

Installs

  • Total 11K
  • Win 6K
  • Mac 3K
  • Linux 1K
Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28
Windows 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 1 0 0 0 1 0 0 0 0 1 1 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

MarkdownCodeBlockWrapper

A simple helper for wrapping Github Flavored Markdown Code Block.

Using GFM code block, fenced code block, it's required to keep typing the little backtick () six times to wrap the code. And also an optional language identifier for syntax highlighting.

It would be nice if you just need to select the code block, press command shortcut, type the optional syntax highlighting language and done. This helper wraps for you to save the typing on backtick.

Notes: If you use Command Palette instead of directly using hot-key ctrl+alt+c to call up the command, you need to type in mdcode instead of full name Markdown. Thanks @sambody for reminder.

Added a code snippets mdc so that it's even easier to generate a new code block although ctrl+alt+c can enclose existing code with fenced code block.