Module Lib.TypSource
Type of parsed markdown
Type definition
Sourcetype stack_elt = | Em| Strong| EmStrong| Strike| Code
Sourcetype span = | A of string| Br| CharSpan of char| NoneSpan| StackOpen of stack_elt| StackClose of stack_elt| UnicodeSpan of string| UnsafeA of {spans : span list;link : string;
}
Sourcetype list_typ = | Ordered| Unordered
Sourcetype block = | CodeBlock of string list| H1 of span list| H2 of span list| H3 of span list| H4 of span list| H5 of span list| H6 of span list| Hr| List_ of list_typ * li list| P of span list| Quote of t| UnsafeCodeBlock of {cb : string list;classes : string list;
}| UnsafeImg of {alt : string;link : string;classes : string list;
}| UnsafeInlineHtml of string list
Pretty printer