package cmark

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val html_of_commonmark : string -> string
type render_flag = [
  1. | `HardBreaks
  2. | `Safe
  3. | `SourcePos
]
type parse_flag = [
  1. | `Normalize
  2. | `Smart
  3. | `ValidateUTF8
]
val of_string : ?flags:parse_flag list -> string -> t
val of_file : ?flags:parse_flag list -> string -> [ `Error of string | `Ok of t ]
val to_xml : ?flags:render_flag list -> t -> string
val to_html : ?flags:render_flag list -> t -> string
val to_man : ?flags:render_flag list -> width:int -> t -> string
val to_commonmark : ?flags:render_flag list -> width:int -> t -> string
val to_latex : ?flags:render_flag list -> width:int -> t -> string
OCaml

Innovation. Community. Security.