Mathieu PATUREL 30ac30082f update README
2017-01-08 14:19:09 +11:00
2017-01-08 12:30:20 +11:00
2017-01-02 16:13:11 +11:00
2017-01-07 12:36:17 +11:00
2017-01-02 12:15:40 +11:00
2017-01-06 18:49:13 +11:00
2017-01-06 18:49:13 +11:00
2017-01-04 12:24:05 +11:00
2016-11-25 08:15:51 +11:00
2017-01-04 12:24:05 +11:00
2017-01-07 16:09:36 +11:00
2017-01-06 18:49:13 +11:00
2017-01-07 12:36:17 +11:00
2017-01-08 13:51:50 +11:00
2017-01-08 14:19:09 +11:00
2017-01-08 13:51:50 +11:00
2017-01-08 13:51:50 +11:00

MarkdownLivePreview

This is a sublime text 3 plugin that allows you to preview your markdown instantly in it!

Dependencies

None! There is no dependency! It uses markdown2 but it's a one file plugin, so it's included in the package.

Installation

Although MarkdownLivePreview is not available on the default channel of PackageControl, you can still use it to download this little package.

  1. Open the command palette (ctrl+shift+p)
  2. Search for: Package Control: Add Repository
  3. Enter in the input at the bottom of ST the path to this repo: https://github.com/math2001/MarkdownLivePreview (tip: just drag the link in)
  4. Hit enter

What this does is simply adding this repo to the list of packages you get when you install a package using PC.

So, as you probably understood, now you just need to install MarkdownLivePreview as if it was available on the default channel:

  1. Open the command palette (ctrl+shift+p)
  2. Search for: Package Control: Install Package
  3. Search for: MarkdownLivePreview
  4. hit enter

Done!

Usage

You can choose to enable MarkdownLivePreview by pressing alt+m or selecting in the command palette MarkdownLivePreview: Edit Current File. Note that you need to be editing (simply having the focus on) a markdown file. Because Markdown Extended did a good job, it's compatible with this plugin.

It will open a new window, with only your markdown file, with the preview. Once your done, close whichever file and it'll close the entire window.

Notice that it will close the entire window if you close whichever file. It means that if you open a random file in this window, and then close it, it'll close the entire window still

In dev

This plugin is not finished, there's still some things to fix (custom css, focus, etc). So, don't run away if you have any trouble, just submit an issue here.

Demo

demo

Custom css

It is possible to set your own css. But, be carefull, you have to respect those rules. Just go to Preferences -> Package Settings -> MarkdownLivePreview. It will open a css file, here: $packages/User/MarkdownLivePreview.css. Just save it and it will automatically use it instead of the default one.

How to open the README

Some of the package add a command in the menus, others in the command palette, or other nowhere. None of those options are really good, especially the last one on ST3 because the packages are compressed. But, fortunately, there is plugin that exists and will solve this problem for us (and he has a really cute name, don't you think?): ReadmePlease.

Description
No description provided
Readme MIT 34 MiB
v6.0.2 Latest
2025-04-24 14:42:21 +00:00
Languages
Python 99.9%
CSS 0.1%