Liking cljdoc? Tell your friends :D

lambdaisland.deep-diff2.puget.color.html

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.
raw docstring

escape-html-documentclj/s

(escape-html-document document)

Escapes special characters into fipp :span/:escaped nodes

Escapes special characters into fipp :span/:escaped nodes
raw docstring

escape-html-nodeclj/s

(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.
raw docstring

escape-html-textclj/s

(escape-html-text text)

Escapes special characters into HTML entities.

Escapes special characters into HTML entities.
raw docstring

styleclj/s

(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
raw docstring

style-attributeclj/s

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
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close