yyjhao / sublime-text-markmon

A simple Sublime Text package for real-time preview of markdown files with markmon.
58 stars 10 forks source link

Sublime Text 3 - Markmon

SublimeText 3 integration with Markmon for real-time markdown preview with mathjax support.

markmon

Important note

You have to install Markmon separately for this plugin to work. You can do so by

npm install -g markmon

Note that markmon relies on Node.js.

Markmon does not come with its own markdown converter so you will need to install your own. I recommend pandoc. Currently mathjax support is limited to pandoc only.

If you want to customize your pandoc parameters or use a converter other than pandoc, go to Sublime Text → Preferences → Package Settings → Markmon → Settings(User) and update the 'command' parameter according to Settings(Default). More information about the parameters can be found in the documentation for Markmon.

Installation Instructions

Package Installer:

Manually:

Usage

First note that markmon only watches your views with markdown syntax, so be sure to check the syntax setting.

Command Palette:

Keyboard Shortcut:

You can check the default short cut by going to Sublime Text → Preferences → Package Settings → Markmon → Key Bindings - Default.

Menus:

Acknowledgment

I use sublime-text-marked and SublimeLinter3 as templates for this plugin.