Page
Library
Module
Module type
Parameter
Class
Class type
Source
OCaml bindings to reveal.js library.
Reveal.js is a framework for easily creating beautiful presentations using HTML.
reveal.js comes with a broad range of features including nested slides, Markdown contents, PDF export, speaker notes and a JavaScript API. It's best viewed in a modern browser but fallbacks are available to make sure your presentation can still be viewed elsewhere.
ocp-reveal depends on dune, omd, js_of_ocaml. You can install them using opam:
opam install dune js_of_ocaml omdThis will build the library and the exemples.
dune buildAfter building, you can see the examples with:
xdg-open _build/default/examples/example.html
xdg-open _build/default/examples/example_2.htmlYou can also see an online demo.
To start your own slides, you can have a look at the examples folder. It's just a matter of creating an HTML file, an OCaml file and compiling.