Liking cljdoc? Tell your friends :D

expound.ansi


*enable-color*clj/s

source

*print-styles*clj/s

source

ansi-code?clj/s

source

black-and-whiteclj/smacro

(black-and-white body)
source

colorclj/s

(color s & styles)
source

escclj/s

(esc codes)

Returns an ANSI escope string which will apply the given collection of SGR codes.

Returns an ANSI escope string which will apply the given collection of SGR
codes.
sourceraw docstring

escapeclj/s

(escape & codes)

Returns an ANSI escope string which will enact the given SGR codes.

Returns an ANSI escope string which will enact the given SGR codes.
sourceraw docstring

(print-color-text codes body)
source

resolve-stylesclj/s

(resolve-styles styles)
source

sgrclj/s

(sgr string & codes)

Wraps the given string with SGR escapes to apply the given codes, then reset the graphics.

Wraps the given string with SGR escapes to apply the given codes, then reset
the graphics.
sourceraw docstring

sgr-codeclj/s

Map of symbols to numeric SGR (select graphic rendition) codes.

Map of symbols to numeric SGR (select graphic rendition) codes.
sourceraw docstring

stripclj/s

(strip string)

Removes color codes from the given string.

Removes color codes from the given string.
sourceraw docstring

with-colorclj/smacro

(with-color & body)
source

with-color-whenclj/smacro

(with-color-when b & body)
source

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

× close