package atd

  1. Overview
  2. Docs
type inline = [
  1. | `Code of string
  2. | `Text of string
]
type block = [
  1. | `Paragraph of inline list
  2. | `Pre of string
]
type doc = [
  1. | `Text of block list
]
val parse_text : Atd_ast.loc -> string -> doc
val get_doc : Atd_ast.loc -> Atd_ast.annot -> doc option
val html_of_doc : doc -> string
OCaml

Innovation. Community. Security.