Skip to content
JavaScript presentation slides generated from Emacs org-mode
Clojure CSS
Latest commit 4ba9c2c May 9, 2014 @stuartsierra stuartsierra README: update export command for Org 8
And add another link to the old branch for Emacs 23 / Org 7.
Failed to load latest commit information.
lib Update ClojureScript One to latest commit Feb 3, 2012
production Update production JavaScript files Sep 27, 2013
.gitignore Update .gitignore Feb 10, 2012
.gitmodules Remove ClojureScript submodule Feb 3, 2012 README: update export command for Org 8 May 9, 2014
example-image.svg Move example presentation to top level Feb 10, 2012
example.html Update syntax for org-mode 8 Sep 27, 2013 Update syntax for org-mode 8 Sep 27, 2013


You have an outline written in Emacs Org-Mode. Export it to HTML. Add Org-HTML-Slideshow, and you have an interactive slide presentation that runs in a web browser!

Supports anything Org-Mode can export: bulleted lists, code blocks, images, etc.

Should work in most modern web browsers; tested only in Google Chrome 29.0.1547.76.

Org-HTML-Slideshow is written in ClojureScript.

Recommended Emacs Platform

  • GNU Emacs version 24+
    • Check version with M-x emacs-version
  • Org-Mode version 8+
    • Check version by opening an .org file and M-x org-version
  • Htmlize version 1.37+

For Emacs 23 and Org-mode 7, use the older version of org-html-slideshow on the Git branch emacs23-org7

Using in Your Org-mode Files

Step 1. Copy the following files from the production directory to the directory containing your .org file:


Step 2. Add the following lines to the bottom of your .org file:

#+OPTIONS: num:nil tags:t

#+TAGS: slide(s)

#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="common.css" />
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="screen.css" media="screen" />
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="projection.css" media="projection" />
#+HTML_HEAD_EXTRA: <link rel="stylesheet" type="text/css" href="presenter.css" media="presenter" />

<script type="text/javascript" src="org-html-slideshow.js"></script>

# Local Variables:
# org-html-head-include-default-style: nil
# org-html-head-include-scripts: nil
# End:

Step 3. Close and re-open your .org file. Type y to accept the buffer-local variables.

Adding Tags to Your Org-Mode File

For each org-mode headline that you want to make into a slide, add the :slide: tag by typing C-c C-c s RET with the cursor on the headline.

Additional tags will be added as CSS classes on the slides.

Read more about tags in the Org-Mode manual.

See the files and example.html for more examples of things you can do with Org-Mode.

Exporting to HTML

Type C-c C-e h h in your .org file to export as HTML. Repeat whenever you modify the .org file.

Read more about HTML export in the Org-Mode manual.

Playing the Slide Show

Open the generated HTML file in your browser and type t to begin the slide show.

The Space, Enter, Page Down, and n keys advance to the next slide.

The Page Up and p keys go back to the previous slide.

The t key toggles between slide-show and normal views.

Move the mouse to the lower right-hand corner of the screen to show a control panel with links to navigate the slide show by mouse.

Presenter Preview

While playing the slide show, click on the control panel's "Open presenter preview" link. This will open a new window showing the currently visible slide, upcoming slide, wall clock time, and elapsed time since the presentation began.

Presenter Notes

Add a sub-heading with the tag :notes: beneath a :slide: heading. The content under the notes heading will be displayed in the Presenter Preview window with the slide.

Changing Styles

You can modify the appearance of your slides by editing the stylesheets:

  • projection.css affects only the slide-show view
  • screen.css affects only the normal view
  • common.css affects both
  • presenter.css affects only the presenter preview


To develop and build org-html-slideshow, you will need the following programs already installed:

In the top-level directory of this project, run the following commands to download additional dependencies:

git submodule init
git submodule update

Rebuilding Development Examples

Build the development version (one file, unoptimized, readable JavaScript source) with:

lein cljsbuild once development

The JavaScript file will be written to out/development/org-html-slideshow.js.

You will need Emacs (version 24+) and org-mode (version 8+) to generate the HTML.

Open in Emacs and type C-e h o. Emacs will generate an HTML file and open it in your default browser. Type t to begin the slide show.

Rebuilding Production Files

Build the production version (one file, optimized, not human-readable) with:

lein cljsbuild once production

The JavaScript file will be written to production/org-html-slideshow.js.

Change Log

  • 27-Sept-2013: Switch to Emacs 24 and Org-mode 8

    Org-mode 8 introduced breaking changes in the way it exports HTML, necessitating breaking changes in org-html-slideshow.

    For Emacs 23 and Org-mode 7, use the older version of org-html-slideshow on the Git branch emacs23-org7

  • 11-Dec-2011: Initial release

Copyright & Contributions

There is no copyright. I dedicate this work to the public domain.

I am not actively developing new features for this project.


  • Stuart Sierra (primary author)
  • Craig Andera
  • Alex Redington
Something went wrong with that request. Please try again.