bracetax

Simple and deterministic text processing syntax
val is_italic : string -> bool
val is_bold : string -> bool
val is_mono_space : string -> bool
val is_superscript : string -> bool
val is_subscript : string -> bool
val is_quotation : string -> bool
val is_non_break_space : string -> bool
val is_ellipsis : string -> bool
val is_en_dash : string -> bool
val is_em_dash : string -> bool
val is_open_brace : string -> bool
val is_close_brace : string -> bool
val is_sharp : string -> bool
val is_paragraph : string -> bool
val is_new_line : string -> bool
val is_utf8_char : string -> bool
val is_begin : string -> bool
val is_end : string -> bool
val is_list : string -> bool
val list_style : ( Bracetax_error.message -> unit ) -> string -> [> `itemize | `numbered ]
val is_item : string -> bool
val is_section : string -> bool
val section_params : string list -> int * string

Returns section's depth and label (maybe "").

val is_image : string -> bool
val image_params : ?img_hook:( string -> string ) -> ( Bracetax_error.message -> unit ) -> string list -> string * Stack.image_size * string

Get the parameters of an "image", the path (optinally treated by img_hook), the size specification, and the label (the path and the label may be "").

val is_header : string -> bool
val is_title : string -> bool
val is_authors : string -> bool
val is_subtitle : string -> bool
val is_table : string -> bool
val is_cell : string -> bool
val is_note : string -> bool
val is_quote : string -> bool