Markdown snippets for Leanpub in VSCode Editor
I've created these snippets for Leanpub authors to quickly insert blocks of Leanpub friendly markdown into book manuscript using VSCode editor.
Installation and Usage
- Install Visual Studio Code 0.10.x or higher
- Launch Code
- From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
- Select Install Extension
- Choose the extension
- Reload Visual Studio Code
Try out typing 'lp-tip' in any Markdown file and pressing 'Tab' key on your keyboard. You should get the following code generated for you:
T> ##
T>
T>
You can use the following snippets :
- lp-img (insert image with caption)
- lp-code (insert a code block)
- lp-aside (insert aside)
- lp-info (insert info block)
- lp-error (insert error block)
- lp-question (insert question block)
- lp-tip (insert tip block)
- lp-discussion (insert discussion block)
| |