Module Hardcaml_waveterm.Write
type styler={start : (Import.string -> Import.unit) -> Import.unit;called at start
set : (Import.string -> Import.unit) -> Draw.Style.t -> Import.unit;called for each element
eol : (Import.string -> Import.unit) -> Import.unit;called at end of each line
finish : (Import.string -> Import.unit) -> Import.unit;called at end
}stylting functions
val no_styler : stylernot styling information inserted
val html_styler : stylerInline CSS per span element
val css_class_styler : stylerCSS specified with classes
val css_classes : Import.stringCSS classes for
css_class_styler. Dump in CSS file or style tag.
val term_styler : stylerANSI termianl escape codes
val html_escape : ?styler:styler -> (Import.string -> Import.unit) -> Draw.In_memory.ctx -> Import.unitwrite data as html escape code
val utf8 : ?styler:styler -> (Import.string -> Import.unit) -> Draw.In_memory.ctx -> Import.unitwrite data as utf-8