rst-live-preview

1.0.4 • Public • Published

rst-live-preview

Preview reStructuredText file in browser with auto refresh _( ̄▽ ̄)」∠)_

snapshot

Installation

Requires python rst2html5, to install:

pip install rst2html5-tools

and then install rst-live-preview via npm:

npm install --global rst-live-preview

Usage

On command line:

rstpreview my-awesome-article.rst

Then the preview will be opened in you default browser. Just keep edit & save your rst file, the preview will automatically refresh.

Math Support

for detail info, see rst2html5#math-support

 
Some math:
 
.. math::
 
    x = {-b \pm \sqrt{b^2-4ac} \over 2a}

Syntax Highlight

Some source code:
 
.. code:: javascript
 
    const assert = require('assert');
 
    assert(true);  // OK

Package Sidebar

Install

npm i rst-live-preview

Weekly Downloads

2

Version

1.0.4

License

WTFPL

Last publish

Collaborators

  • frantic1048