Functor Camlhighlight_write_html5.Make

module Make: 
functor (Html5 : Html5_sigs.NoWrap) -> sig .. end
A functorial interface is used because the user may wish to use this module together with Eliom (for instance). This particular use case is achieved by feeding Eliom's Html5.F.Raw and Eliom_content.Svg.F.Raw to the functor, as exemplified by the code below:
    module My_writer = Camlhighlight_write_html5.Make
    (struct
        include Eliom_content.Html5.F.Raw
        module Svg = Eliom_content.Svg.F.Raw
    end)
   

Parameters:
Html5 : Html5_sigs.NoWrap

val write_inline : ?class_prefix:string ->
?extra_classes:Html5_types.nmtoken list ->
Camlhighlight_core.t -> [> Html5_types.span ] Html5.elt
This function converts a value of type Camlhighlight_core.t containing a syntax-highlighted document into a Html5 span element. Note that the document must consist of a single line; otherwise an Invalid_argument exception is raised. The optional parameter class_prefix indicates the prefix for the class names of all HTML5 elements produced, while extra_classes can be used to provide additional class names for the main container (these extra classes are not prefixed by class_prefix).
val write_block : ?class_prefix:string ->
?extra_classes:Html5_types.nmtoken list ->
?dummy_lines:bool ->
?linenums:bool -> Camlhighlight_core.t -> [> Html5_types.div ] Html5.elt
This function converts a value of type Camlhighlight_core.t containing a syntax-highlighted document into a Html5 div element. The optional parameter class_prefix indicates the prefix for the class names of all HTML5 elements produced, while extra_classes can be used to provide additional class names for the main container (these extra classes are not prefixed by class_prefix). Also optional are the boolean parameters dummy_lines, and linenums. They indicate whether the generated HTML5 should include dummy lines at the beginning and end, and line numbers for the code, respectively.
val write : ?class_prefix:string ->
?extra_classes:Html5_types.nmtoken list ->
?dummy_lines:bool ->
?linenums:bool -> Camlhighlight_core.t -> [> Html5_types.div ] Html5.elt
Deprecated.write is an alias for write_block.