Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
RstPreview - a SublimeText plugin to view RST files in your browser.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
css
.gitignore
AUTHORS
Base File.sublime-settings
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Default.sublime-commands
LICENSE
README.rst
RstPreview.py
RstPreview.sublime-settings

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.