sig
exception Invalid_polebrush of string
type toc = (string * int * Polebrush.line list) list
val toc_of_enum :
Polebrush.block Enum.t -> Polebrush_html.toc * Polebrush.block Enum.t
val elements_of_toc : Polebrush_html.toc -> Polebrush.element list
val of_enum :
?disable_toc:bool ->
?escape_cdata:bool ->
?escape_nomarkup:bool ->
?code_highlight_cmd:string -> Polebrush.block Enum.t -> string Enum.t
val of_stream :
?escape_cdata:bool ->
?escape_nomarkup:bool ->
?code_highlight_cmd:string -> Polebrush.block Stream.t -> string Stream.t
val of_block :
?toc:Polebrush_html.toc ->
?escape_cdata:bool ->
?escape_nomarkup:bool ->
?code_highlight_cmd:string -> Polebrush.block -> string
val of_line :
?escape_cdata:bool -> ?escape_nomarkup:bool -> Polebrush.line -> string
end