package ocp_reveal

  1. Overview
  2. Docs

Module Ocp_reveal.SlidesSource

Sourcetype transition =
  1. | None
  2. | Fade
  3. | Slide
  4. | Convex
  5. | Concave
  6. | Zoom
Sourcetype speed =
  1. | Default
  2. | Fast
  3. | Slow
Sourcetype color =
  1. | Black
  2. | White
  3. | Blue
  4. | Red
  5. | Green
  6. | Yellow
  7. | Color of string
Sourcetype theme =
  1. | Black_theme
  2. | White_theme
  3. | Night_theme
  4. | Blood_theme
  5. | Custom of string
Sourcetype path = string
Sourcetype slide = {
  1. title : Omd.element;
  2. content : string;
  3. transition : transition;
  4. video : path option;
  5. text_color : color;
  6. background_color : color option;
  7. background_img : path option;
  8. background_video : path option;
  9. background_embed : path option;
  10. theme : theme;
}
Sourcetype slide_t =
  1. | Single of Omd.t * slide
  2. | Multiple of slides_t
  3. | File of Omd.t * slide
Sourceand slides_t = slide_t list
Sourceval title1 : string -> Omd.element
Sourceval title2 : string -> Omd.element
Sourceval title3 : string -> Omd.element
Sourceval title4 : string -> Omd.element
Sourceval title5 : string -> Omd.element
Sourceval title6 : string -> Omd.element
Sourceval text : string -> Omd.element
Sourceval bold : string -> Omd.element
Sourceval emph : string -> Omd.element
Sourceval paragraph : Omd.t -> Omd.element
Sourceval itemize : string list -> Omd.element
Sourceval enumerate : string list -> Omd.element
Sourceval string_of_transition : transition -> string
Sourceval string_of_speed : speed -> string
Sourceval string_of_color : color -> string
Sourceval default : slide

Predefine slide named by effect transition.

Sourceval slide : slide
Sourceval convex : slide
Sourceval concave : slide
Sourceval fade : slide
Sourceval zoom : slide
Sourceval pause : string -> string
Sourceval slides_ref : slide_t list ref
Sourceval frame : slide -> slide_t

Create a new frame.

Sourceval from_file : path -> Omd.t