Coloring implementation that wraps text in HTML tags to apply color.
Supports the following modes for :color-markup
:
:html-inline
applies inline style
attributes to the tags.:html-classes
adds semantic class
attributes to the tags.Coloring implementation that wraps text in HTML tags to apply color. Supports the following modes for `:color-markup`: - `:html-inline` applies inline `style` attributes to the tags. - `:html-classes` adds semantic `class` attributes to the tags.
(escape-html-document document)
Escapes special characters into fipp :span/:escaped nodes
Escapes special characters into fipp :span/:escaped nodes
(escape-html-node node)
Applies HTML escaping to the node if it is a string. Returns a print document representing the escaped string, or the original node if not.
Applies HTML escaping to the node if it is a string. Returns a print document representing the escaped string, or the original node if not.
(escape-html-text text)
Escapes special characters into HTML entities.
Escapes special characters into HTML entities.
(style codes)
Returns a formatted style attribute for a span given a seq of keywords usable in a :color-scheme value
Returns a formatted style attribute for a span given a seq of keywords usable in a :color-scheme value
Map from keywords usable in a color-scheme value to vectors representing css style attributes
Map from keywords usable in a color-scheme value to vectors representing css style attributes
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close