package omd

  1. Overview
  2. Docs
type code_stylist = lang:string -> string -> string
val default_language : string Pervasives.ref
val html_of_md : ?pindent:bool -> ?nl2br:bool -> ?cs:code_stylist -> Omd_representation.t -> string
val headers_of_md : Omd_representation.t -> (Omd_representation.element * string * string) list
val html_and_headers_of_md : ?pindent:bool -> ?nl2br:bool -> ?cs:code_stylist -> Omd_representation.t -> string * (Omd_representation.element * Omd_utils.StringSet.elt * string) list
val escape_markdown_characters : string -> string
val text_of_md : Omd_representation.t -> string
val markdown_of_md : Omd_representation.t -> string
val sexpr_of_md : Omd_representation.t -> string
OCaml

Innovation. Community. Security.