Liking cljdoc? Tell your friends :D

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

(escape-html-document document)

Escapes special characters into fipp :span/:escaped nodes

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

escape-html-nodeclj

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

escape-html-textclj

(escape-html-text text)

Escapes special characters into HTML entities.

Escapes special characters into HTML entities.
sourceraw docstring

styleclj

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

style-attributeclj

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

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

× close