package ocp_reveal
OCaml bindings for Reveal.js, an HTML presentation framework
Install
Dune Dependency
Authors
Maintainers
Sources
0.1.tar.gz
sha256=b665c9640a5c6b71354663547ed82921c5425320988cccc184e063be41ac4dbd
sha512=b98856882edaaa686c6324f390876c8330c57c663aa3c5425fa699229227b1feda6ddf50ed4e47237e2e52c8c4889752f80cc7eda8edc2c2b61f71ac448c1a5c
README.md.html
ocp-reveal
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.
Dependencies
ocp-reveal depends on dune, omd, js_of_ocaml. You can install them using opam:
opam install dune js_of_ocaml omd
Usage
This will build the library and the exemples.
dune build
After building, you can see the examples with:
xdg-open _build/default/examples/example.html
xdg-open _build/default/examples/example_2.html
You 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.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>