rst2reveal is intended to transform regular reStructuredText (ReST) text files to HTML5 slides using some features of the Reveal.js Javascript library developped by Hakim El Hattab.
It aims at providing a quick and easy way to produce nice and consistent HTML5 slides for teaching or scientific use, not fancy presentations.
Reveal.js has more features than what rst2reveal can produce, so if you are more fluent in HTML than ReST, you should use it directly.
rst2reveal includes some parts of Reveal.js (mainly .js
and .css
files in rst2reveal/reveal/
), so it is released under the same MIT license.
In addition to Python 2.6 or 2.7 (not 3.x yet), rst2reveal requires the following packages:
If you want to display code in your slides, it is strongly advised to have pygments installed for syntaxic color highlighting in many languages.
To directly generate plots within the ReST script, you will need Matplotlib (version >= 1.1) installed.
Simply clone the git repository and install it using setuptools:
$ git clone [email protected]:vitay/rst2reveal.git $ cd rst2reveal $ sudo python setup.py install
rst2reveal has been tested only on GNU/Linux systems, but perhaps it works on other platforms.
An example is accessible at this location if you have a decent and recent browser (Firefox, Chrome, Opera).
You can also go in the docs/
subfolder and compile the presentation:
cd docs/ rst2reveal presentation.conf
You can get a summary of command-line options by typing:
rst2reveal --help