package ansifmt

  1. Overview
  2. Docs
type color = Color.t
type styling = Styling.t
type stylizer = Formatting.Stylizer.t
val make_styling : ?foreground:[< Color.t ] -> ?background:[< Color.t ] -> ?bold:bool -> ?dim:bool -> ?italic:bool -> ?underlined:bool -> unit -> Styling.t
val format : ?stylizer:(Ansifmt__Formatting.Token_type.t -> Styling.t) -> ?parentheses:(string * string) -> 'a -> using:(module Ansifmt__Formatting.TOKENIZABLE with type t = 'a) -> string
val print_formatted : ?stylizer:Formatting.Stylizer.t -> ?parentheses:(string * string) -> ?line_end:string -> ?out:out_channel -> 'a -> using:(module Formatting.TOKENIZABLE with type t = 'a) -> unit
OCaml

Innovation. Community. Security.