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 text)

Escapes special characters into fipp :span/:escaped nodes

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

escape-html-textclj

(escape-html-text text)

Escapes special characters into html entities

Escapes special characters into html entities
raw 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
raw 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
raw docstring

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

× close