OmniMarkupPreviewer is a plugin for both Sublime Text 2 and Sublime Text 3 that preview markups in web browsers. OmniMarkupPreviewer renders markups into htmls and send it to web browser in the backgound, which enables a live preview. Besides, OmniMarkupPreviewer provide support for exporting result to html file as well.
OmniMarkupPreviewer has builtin support following markups:
5.10and can be found in
PATH, if the perl version <
Pod::Simpleshould be installed from
ruby, and gem
org-rubyshould be installed)
ruby, as well as gem
ruby, as well as gem
If you find my work useful, please consider buying me a cup of coffee, all donations are much appreciated :)
The easiest way to install OmniMarkupPreviewer is through Package Control.
Once you have Package Control installed, restart Sublime Text.
The advantage of using Package Control is that it will keep OmniMarkupPreviewer up to date automatically.
Without Git: Download the latest source code, and extract to the Packages directory.
With Git: Type the following command in your Sublime Text Packages directory:
git clone git://github.com/timonwong/OmniMarkupPreviewer.git
The "Packages" directory for Sublime Text 2 is located at:
%APPDATA%\Sublime Text 2\Packages\
~/Library/Application Support/Sublime Text 2/Packages/
And for the Sublime Text 3:
%APPDATA%\Sublime Text 3\Packages\
~/Library/Application Support/Sublime Text 3/Packages/
The default key bindings:
Available OmniMarkupPreviewer commands in the command palette:
OmniMarkupPreviewer: Preview Current Markup in Browser
OmniMarkupPreviewer: Export Current Markup as HTML
OmniMarkupPreviewer: Empty Cache
NOTE Command will not be available (greyed out) if current file syntax (or filename) doesn't match any of OmniMarkupPreviewer renderers.
For a complete list of changes, see CHANGELOG.md
Python-Markdownpackage to v2.4.1 final.
.mmdfile extension support (MultiMarkdown).
server_hostsetting is now taken into account when launching preview in browser.
xdg-openunder linux environments.
export_optionswhen not available.
meta_dataextention name for markdown.
org-rubyshould be installed).
Copy Markup as HTML.
Sweep Cache (Remove Unused).
This plugin released under MIT License:
Copyright © 2012 - 2015 Timon Wong Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.