Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
RstPreview - a SublimeText plugin to view RST files in your browser.
Python CSS
branch: master

Merge pull request #25 from wldcordeiro/master

Updating to work with Python 3
latest commit 6521f648c2
@d0ugal d0ugal authored
Failed to load latest commit information.
css Reduced Body Margins in the CSS.
.gitignore Ignore pyc's
AUTHORS Credited @markotibold for contributions.
Base File.sublime-settings General tidy up.
Default (Linux).sublime-keymap General tidy up.
Default (OSX).sublime-keymap General tidy up.
Default (Windows).sublime-keymap General tidy up.
Default.sublime-commands
LICENSE General tidy up.
README.rst README.rst: Convert image from Markdown to RST
RstPreview.py Updating to work with Python 3
RstPreview.sublime-settings Included changes by @takuan-osho. Small stylistic change in the Pytho…

README.rst

RstPreview - Sublime Text

This is a simple plugin for sublime text to convert RST files to HTML for previewing and testing. The output HTML file will be loaded in your default browser.

http://f.cl.ly/items/26183a2u0b0M3l1u313N/Screen%20Shot%202012-10-03%20at%2014.14.37.png

Installation

This package relies on docutils which Sublime must be able to import. This means that it needs to be in the site-packages of the global python install or on the PYTHONPATH. Below are common ways to install docutils on your system.

Mac OS X and Linux

Install docutils for the global python interpreter that Sublime uses:

sudo easy_install-2.6 docutils

After the install, you may need to restart sublime text for it to be picked up.

Windows

To install docutils on windows follow these steps in the docutils documentation

Usage

When viewing a reStructuredText document in sublime text use the following key combinations.

Mac OS X

cmd ⌘ + shift ⇧ + r

Linux & Windows

ctrl + shift + r

Something went wrong with that request. Please try again.