data Mode : Type The generation mode.
It can be the default one on multiple lines or the minify version on a
single line.
Totality: total
Visibility: public export
Constructors:
Default : Mode Minify : Mode
data IndentChar : Type The indentation character to use (space or tab).
Totality: total
Visibility: public export
Constructors:
Space : IndentChar Tab : IndentChar
record Config : Type A generation configuration.
Totality: total
Visibility: public export
Constructor: MkConfig : IndentChar -> Nat -> Mode -> Config
Projections:
.indentChar : Config -> IndentChar The indentation character (`Space` or `Tab`).
.indentSize : Config -> Nat The number of characters for each indentation.
.mode : Config -> Mode The generation mode (`Default` or `Minify`).
.indentChar : Config -> IndentChar The indentation character (`Space` or `Tab`).
Totality: total
Visibility: public exportindentChar : Config -> IndentChar The indentation character (`Space` or `Tab`).
Totality: total
Visibility: public export.indentSize : Config -> Nat The number of characters for each indentation.
Totality: total
Visibility: public exportindentSize : Config -> Nat The number of characters for each indentation.
Totality: total
Visibility: public export.mode : Config -> Mode The generation mode (`Default` or `Minify`).
Totality: total
Visibility: public exportmode : Config -> Mode The generation mode (`Default` or `Minify`).
Totality: total
Visibility: public exportgenAttribute : Attribute -> String Generates an attribute.
Totality: total
Visibility: exportgenElementsConf : Config -> Nat -> List Element -> String Generates a list of elements.
Totality: total
Visibility: exportgenElementConf : Config -> Nat -> Element -> String Generates an element.
For plain text, in default mode, if the text is longer than 80 characters
or it contains a return line character, then it's displayed below the HTML
tag and indented. Otherwise, it's displayed on the same line as the
opening and closing tags.
Totality: total
Visibility: exportgenElement : Element -> String Generates HTML code based on the provided element.
Each child is displayed on its own line and 2 spaces are used for the
indentation.
Totality: total
Visibility: exportgenElementMin : Element -> String Generates HTML code based on the provided element as a one liner.
Totality: total
Visibility: exportgenElements : List Element -> String Generates HTML code based on the provided list of elements.
Each element is displayed on its own line and 2 spaces are used for the
indentation.
Totality: total
Visibility: exportgenElementsMin : List Element -> String Generates HTML code based on the provided list of elements as a one liner.
Totality: total
Visibility: exportgenHtmlConf : Config -> Html -> String Generates the HTML based on the provided configuration.
Totality: total
Visibility: exportgenHtml : Html -> String Generates the HTML using a default of 2 spaces for the indentation.
Totality: total
Visibility: exportgenHtmlMin : Html -> String Generates a one liner HTML.
Totality: total
Visibility: export