package bracetax

  1. Overview
  2. Docs

Module Bracetax_commands.NamesSource

Operations to identify Bracetax commands, and "parse" their arguments.

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

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

Sourceval is_image : string -> bool
Sourceval 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 "").

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

Innovation. Community. Security.