package forester

  1. Overview
  2. Docs
type node =
  1. | Text of string
  2. | Transclude of string
  3. | Query of t Query.t
  4. | Embed_tex of {
    1. source : t;
    }
  5. | Block of t * t
  6. | If_tex of t * t
  7. | Xml_tag of string * (string * t) list * t
  8. | Unresolved of string
  9. | Prim of Prim.t * t
  10. | Call of t * string
and t = node Range.located 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. dates : Prelude.Date.t list;
  7. metas : (string * t) list;
  8. tex_packages : string list;
  9. source_path : string option;
}
val pp_frontmatter : Ppx_deriving_runtime.Format.formatter -> frontmatter -> Ppx_deriving_runtime.unit
val show_frontmatter : frontmatter -> Ppx_deriving_runtime.string
type tree = frontmatter * t
OCaml

Innovation. Community. Security.