Scroll to navigation



darkslide - html5 slideshow generator


darkslide [options] ...


Darkslide is a tool which can generates an HTML5 slideshow using lightweight markup as input.

You can write your slide contents easily using there syntaxes:

This tool support CSS/JS theming, PDF export (using PrinceXML Python library), embed images with Base64 (for stand-alone document) and fancy transitions.

A sample presentation is available here: <>.


show help message and exit
Will display any exception trace to stdin
The path to the to the destination file: .html or .pdf extensions allowed (default: presentation.html)
The encoding of your files (defaults to utf8)
Embed stylesheet and javascript contents, base64-encoded images in presentation to make a standalone document
How to output linenos in source code. Three options are available: no (no line numbers); inline (inside <pre> tag); table (lines numbers in another cell, copy-paste friendly)
Enable mathematical output using mathjax
Prints the generated HTML code to stdin; won't work with PDF export
Won't write anything to stdin (silent mode)
Make your presentation asset links relative to current pwd; This may be useful if you intend to publish your html presentation online.
A theme name, or path to a darkslide theme directory
Write informational messages to stdin (enabled by default)
Watch the source directory for changes and auto-regenerate the presentation
Comma-separated list of extensions for Markdown


Note: PDF export requires the `prince` program:


Damien Raude-Morvan <>

March 2011 Darkslide