HTML#
This format supports HTML.
Procedure#
This format is implemented by the HtmlFormatter
.
Formatting
Refer to the procedure outlined in the Formats documentation for an overview of the steps common to all formats.
Translation#
This format requires some characters to be translated to their equivalent HTML character entities.
Source
Refer to the translate
function for more information.
Colorization#
Color is applied to each element in the text_matrix
by wrapping it in a styled <span>
element.
Source
Refer to the color
function for more information.
Unification#
Elements of each row of the text_matrix
are joined to form lines. All lines are wrapped in a <div>
elemen each. The entire text output is wrapped in a <div>
element.
Source
Refer to the unify
function for more information.