package printbox-html

  1. Overview
  2. Docs
On This Page
  1. Output HTML
Legend:
Library
Module
Module type
Parameter
Class
Class type

Output HTML

type 'a html = 'a Tyxml.Html.elt
val prelude : [> Html_types.style ] html

HTML text to embed in the "<head>", defining the style for tables

val prelude_str : string
module Config : sig ... end
val to_html : ?config:Config.t -> PrintBox.t -> [ `Div ] html

HTML for one box

val pp : ?flush:bool -> ?config:Config.t -> ?indent:bool -> unit -> Stdlib.Format.formatter -> PrintBox.t -> unit
val to_string : ?config:Config.t -> PrintBox.t -> string
val to_string_indent : ?config:Config.t -> PrintBox.t -> string
val to_string_doc : ?config:Config.t -> PrintBox.t -> string

Same as to_string, but adds the prelude and some footer

OCaml

Innovation. Community. Security.