Skip to content

vitay/rst2reveal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rst2reveal

ReST to Reveal.js translator

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.

Dependencies

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.

Installation

Simply clone the git repository and install it using setuptools:

$ git clone git@bitbucket.org: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.

Usage

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

Command-line options

You can get a summary of command-line options by typing:

rst2reveal --help

About

ReStructuredText to HTML+reveal.js slideshow converter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published