Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Leanpub SnippetsNew to Visual Studio Code? Get it now.
Leanpub Snippets

Leanpub Snippets

Behzad Abbasi

|
778 installs
| (0) | Free
Markdown snippets for Leanpub in VSCode Editor
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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

  1. Install Visual Studio Code 0.10.x or higher
  2. Launch Code
  3. From the command palette Ctrl-Shift-P (Windows, Linux) or Cmd-Shift-P (OSX)
  4. Select Install Extension
  5. Choose the extension
  6. 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)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft