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

Markdown​Live​Preview

by math2001 ST3

A Sublime Text 3 plugin to preview your markdown as you type

Labels markdown, preview

Details

Installs

  • Total 216K
  • Win 105K
  • Mac 74K
  • Linux 36K
02040Nov 4Oct 29Oct 23Oct 17Oct 11Oct 5Sep 29Sep 23Nov 4 Linux: 0 Mac: 0 Windows: 5Nov 3 Linux: 7 Mac: 4 Windows: 14Nov 2 Linux: 3 Mac: 11 Windows: 7Nov 1 Linux: 9 Mac: 19 Windows: 23Oct 31 Linux: 9 Mac: 15 Windows: 27Oct 30 Linux: 8 Mac: 20 Windows: 28Oct 29 Linux: 8 Mac: 15 Windows: 28Oct 28 Linux: 4 Mac: 22 Windows: 21Oct 27 Linux: 6 Mac: 12 Windows: 14Oct 26 Linux: 8 Mac: 11 Windows: 11Oct 25 Linux: 7 Mac: 14 Windows: 20Oct 24 Linux: 10 Mac: 15 Windows: 31Oct 23 Linux: 5 Mac: 12 Windows: 41Oct 22 Linux: 7 Mac: 19 Windows: 27Oct 21 Linux: 11 Mac: 24 Windows: 19Oct 20 Linux: 7 Mac: 6 Windows: 13Oct 19 Linux: 5 Mac: 4 Windows: 14Oct 18 Linux: 8 Mac: 14 Windows: 22Oct 17 Linux: 9 Mac: 19 Windows: 27Oct 16 Linux: 13 Mac: 14 Windows: 28Oct 15 Linux: 8 Mac: 10 Windows: 24Oct 14 Linux: 16 Mac: 18 Windows: 24Oct 13 Linux: 7 Mac: 8 Windows: 11Oct 12 Linux: 9 Mac: 3 Windows: 17Oct 11 Linux: 5 Mac: 16 Windows: 30Oct 10 Linux: 15 Mac: 19 Windows: 25Oct 9 Linux: 5 Mac: 14 Windows: 22Oct 8 Linux: 9 Mac: 12 Windows: 24Oct 7 Linux: 9 Mac: 12 Windows: 21Oct 6 Linux: 7 Mac: 6 Windows: 13Oct 5 Linux: 4 Mac: 10 Windows: 12Oct 4 Linux: 8 Mac: 16 Windows: 8Oct 3 Linux: 8 Mac: 8 Windows: 15Oct 2 Linux: 8 Mac: 9 Windows: 20Oct 1 Linux: 7 Mac: 19 Windows: 12Sep 30 Linux: 8 Mac: 20 Windows: 24Sep 29 Linux: 6 Mac: 11 Windows: 24Sep 28 Linux: 2 Mac: 6 Windows: 21Sep 27 Linux: 8 Mac: 19 Windows: 23Sep 26 Linux: 6 Mac: 17 Windows: 28Sep 25 Linux: 7 Mac: 20 Windows: 32Sep 24 Linux: 9 Mac: 18 Windows: 26Sep 23 Linux: 10 Mac: 15 Windows: 24Sep 22 Linux: 9 Mac: 6 Windows: 15Sep 21 Linux: 5 Mac: 5 Windows: 5Sep 20 Linux: 9 Mac: 10 Windows: 22Nov 4 Linux: 0 Mac: 0 Windows: 5Nov 3 Linux: 7 Mac: 4 Windows: 14Nov 2 Linux: 3 Mac: 11 Windows: 7Nov 1 Linux: 9 Mac: 19 Windows: 23Oct 31 Linux: 9 Mac: 15 Windows: 27Oct 30 Linux: 8 Mac: 20 Windows: 28Oct 29 Linux: 8 Mac: 15 Windows: 28Oct 28 Linux: 4 Mac: 22 Windows: 21Oct 27 Linux: 6 Mac: 12 Windows: 14Oct 26 Linux: 8 Mac: 11 Windows: 11Oct 25 Linux: 7 Mac: 14 Windows: 20Oct 24 Linux: 10 Mac: 15 Windows: 31Oct 23 Linux: 5 Mac: 12 Windows: 41Oct 22 Linux: 7 Mac: 19 Windows: 27Oct 21 Linux: 11 Mac: 24 Windows: 19Oct 20 Linux: 7 Mac: 6 Windows: 13Oct 19 Linux: 5 Mac: 4 Windows: 14Oct 18 Linux: 8 Mac: 14 Windows: 22Oct 17 Linux: 9 Mac: 19 Windows: 27Oct 16 Linux: 13 Mac: 14 Windows: 28Oct 15 Linux: 8 Mac: 10 Windows: 24Oct 14 Linux: 16 Mac: 18 Windows: 24Oct 13 Linux: 7 Mac: 8 Windows: 11Oct 12 Linux: 9 Mac: 3 Windows: 17Oct 11 Linux: 5 Mac: 16 Windows: 30Oct 10 Linux: 15 Mac: 19 Windows: 25Oct 9 Linux: 5 Mac: 14 Windows: 22Oct 8 Linux: 9 Mac: 12 Windows: 24Oct 7 Linux: 9 Mac: 12 Windows: 21Oct 6 Linux: 7 Mac: 6 Windows: 13Oct 5 Linux: 4 Mac: 10 Windows: 12Oct 4 Linux: 8 Mac: 16 Windows: 8Oct 3 Linux: 8 Mac: 8 Windows: 15Oct 2 Linux: 8 Mac: 9 Windows: 20Oct 1 Linux: 7 Mac: 19 Windows: 12Sep 30 Linux: 8 Mac: 20 Windows: 24Sep 29 Linux: 6 Mac: 11 Windows: 24Sep 28 Linux: 2 Mac: 6 Windows: 21Sep 27 Linux: 8 Mac: 19 Windows: 23Sep 26 Linux: 6 Mac: 17 Windows: 28Sep 25 Linux: 7 Mac: 20 Windows: 32Sep 24 Linux: 9 Mac: 18 Windows: 26Sep 23 Linux: 10 Mac: 15 Windows: 24Sep 22 Linux: 9 Mac: 6 Windows: 15Sep 21 Linux: 5 Mac: 5 Windows: 5Sep 20 Linux: 9 Mac: 10 Windows: 22Nov 4 Linux: 0 Mac: 0 Windows: 5Nov 3 Linux: 7 Mac: 4 Windows: 14Nov 2 Linux: 3 Mac: 11 Windows: 7Nov 1 Linux: 9 Mac: 19 Windows: 23Oct 31 Linux: 9 Mac: 15 Windows: 27Oct 30 Linux: 8 Mac: 20 Windows: 28Oct 29 Linux: 8 Mac: 15 Windows: 28Oct 28 Linux: 4 Mac: 22 Windows: 21Oct 27 Linux: 6 Mac: 12 Windows: 14Oct 26 Linux: 8 Mac: 11 Windows: 11Oct 25 Linux: 7 Mac: 14 Windows: 20Oct 24 Linux: 10 Mac: 15 Windows: 31Oct 23 Linux: 5 Mac: 12 Windows: 41Oct 22 Linux: 7 Mac: 19 Windows: 27Oct 21 Linux: 11 Mac: 24 Windows: 19Oct 20 Linux: 7 Mac: 6 Windows: 13Oct 19 Linux: 5 Mac: 4 Windows: 14Oct 18 Linux: 8 Mac: 14 Windows: 22Oct 17 Linux: 9 Mac: 19 Windows: 27Oct 16 Linux: 13 Mac: 14 Windows: 28Oct 15 Linux: 8 Mac: 10 Windows: 24Oct 14 Linux: 16 Mac: 18 Windows: 24Oct 13 Linux: 7 Mac: 8 Windows: 11Oct 12 Linux: 9 Mac: 3 Windows: 17Oct 11 Linux: 5 Mac: 16 Windows: 30Oct 10 Linux: 15 Mac: 19 Windows: 25Oct 9 Linux: 5 Mac: 14 Windows: 22Oct 8 Linux: 9 Mac: 12 Windows: 24Oct 7 Linux: 9 Mac: 12 Windows: 21Oct 6 Linux: 7 Mac: 6 Windows: 13Oct 5 Linux: 4 Mac: 10 Windows: 12Oct 4 Linux: 8 Mac: 16 Windows: 8Oct 3 Linux: 8 Mac: 8 Windows: 15Oct 2 Linux: 8 Mac: 9 Windows: 20Oct 1 Linux: 7 Mac: 19 Windows: 12Sep 30 Linux: 8 Mac: 20 Windows: 24Sep 29 Linux: 6 Mac: 11 Windows: 24Sep 28 Linux: 2 Mac: 6 Windows: 21Sep 27 Linux: 8 Mac: 19 Windows: 23Sep 26 Linux: 6 Mac: 17 Windows: 28Sep 25 Linux: 7 Mac: 20 Windows: 32Sep 24 Linux: 9 Mac: 18 Windows: 26Sep 23 Linux: 10 Mac: 15 Windows: 24Sep 22 Linux: 9 Mac: 6 Windows: 15Sep 21 Linux: 5 Mac: 5 Windows: 5Sep 20 Linux: 9 Mac: 10 Windows: 22

Readme

Source
raw.​githubusercontent.​com

MarkdownLivePreview

A simple plugin to preview your markdown as you type right in Sublime Text. No dependencies!

How to install

It's available on package control!

Setting a keybinding

The open the preview, you can search up in the command palette (ctrl+shift+p) MarkdownLivePreview: Open Preview. But if you prefer to have a shortcut, add this to your keybindings file:

{
    "keys": ["alt+m"],
    "command": "open_markdown_preview"
}

How to contribute

If you know what feature you want to implement, or what bug you wanna fix, then go ahead and hack! Maybe raise an issue before hand so that we can talk about it if it's a big feature.

But if you wanna contribute just to say thanks, and don't really know what you could be working on, then there are a bunch of FIXMEs all over this package. Just pick one and fix it :-)

$ git clone https://github.com/math2001/MarkdownLivePreview
$ cd MarkdownLivePreview
$ grep -R FIXME

Hack it!

  1. Fork this repo
  2. Make your own branch (the name of the branch should be the feature you are implementing eg. improve-tables, fix-crash-on-multiple-preview
  3. All your code should be formated by black.
  4. Send a PR!

Known limitations

Numbered lists are rendered as unordered lists

Error: language “md” is not supported
1. first
2. second
3. third

will be previewed the exact same way as

Error: language “md” is not supported
- first
- second
- third

The issue comes from Sublime Text's minihtml which doesn't support ordered lists. If you think feel like implementing a workaround, feel free to contribute, but it's not something I'm planning on doing. It isn't a critical feature, and support should come with time…