package forester

  1. Overview
  2. Docs
type node =
  1. | Text of string
  2. | Tag of string
  3. | Transclude of string
  4. | Query of t Query.t
  5. | Embed_tex of {
    1. packages : string list;
    2. source : t;
    }
  6. | Block of t * t
  7. | If_tex of t * t
and t = node list
val pp_node : Ppx_deriving_runtime.Format.formatter -> node -> Ppx_deriving_runtime.unit
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
type frontmatter = {
  1. title : t option;
  2. addr : string;
  3. taxon : string option;
  4. authors : string list;
  5. tags : string list;
  6. date : Prelude.Date.t option;
  7. metas : (string * t) list;
  8. tex_packages : string list;
}
val pp_frontmatter : Ppx_deriving_runtime.Format.formatter -> frontmatter -> Ppx_deriving_runtime.unit
val show_frontmatter : frontmatter -> Ppx_deriving_runtime.string
type doc = frontmatter * t
OCaml

Innovation. Community. Security.