reveal.js

reveal.js

reveal.js is a framework for easily creating beautiful presentations using HTML.

Building

This document can be compiled to HTML by

  1. Saving this template to a file
  2. Running

    stitch ex_revealjs.txt -o ex_revealjs.html -t html5 \
    --template=revealjs.html --standalone \
    --variable theme="beige" \
    --no-hightlight --section-divs

Code

Of course, you can use code

In [1]: def fib(n):
   ...:     a, b = 0, 1
   ...:     while a < n:
   ...:         print(a, end=', ')
   ...:         a, b = b, a+b
   ...:
   ...: fib(1000)
0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, 144, 233, 377, 610, 987,