package ocp_reveal
Install
Dune Dependency
Authors
Maintainers
Sources
sha256=b665c9640a5c6b71354663547ed82921c5425320988cccc184e063be41ac4dbd
sha512=b98856882edaaa686c6324f390876c8330c57c663aa3c5425fa699229227b1feda6ddf50ed4e47237e2e52c8c4889752f80cc7eda8edc2c2b61f71ac448c1a5c
Description
OCaml bindings for Reveal.js, an HTML presentation framework
Published: 18 May 2020
README
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.
Dependencies (5)
-
js_of_ocaml-ppx
>= "3.6"
-
js_of_ocaml
>= "3.6"
-
omd
>= "1.3" & < "2.0.0~alpha1"
-
dune
>= "2.5"
-
ocaml
>= "4.05"
Dev Dependencies
None
Used by
None
Conflicts
None