package mdx

  1. Overview
  2. Docs
type syntax =
  1. | Cmt
  2. | Attr

The Attr syntax is legacy, its support will be dropped in 2.x in favor of Cmt.

type part_begin = {
  1. indent : string;
  2. payload : string;
}
type t =
  1. | Part_begin of syntax * part_begin
  2. | Part_end
val parse : string -> (t option, [ `Msg of string ]) Result.result
OCaml

Innovation. Community. Security.