Liking cljdoc? Tell your friends :D

com.github.dnikku.clojure-testing.colorize

Inspired from [[https://raw.githubusercontent.com/ibdknox/colorize/master/src/colorize/core.clj]] A set of functions to wrap strings in ansi-colors.

 Inspired from [[https://raw.githubusercontent.com/ibdknox/colorize/master/src/colorize/core.clj]]
A set of functions to wrap strings in ansi-colors.
raw docstring

ansiclj

(ansi code)

Get the ansi code for a specific color

Get the ansi code for a specific color
raw docstring

ansi-colorsclj


blackclj

(black & s__1836__auto__)

black-bgclj

(black-bg & s__1836__auto__)

blueclj

(blue & s__1836__auto__)

blue-bgclj

(blue-bg & s__1836__auto__)

boldclj

(bold & s__1836__auto__)

colorclj

(color code & s)

Wrap the given strings in the provided color. Color should be a keyword and can be any of the following:

[:reset :default :white :black :red :green :blue :yellow :magenta :cyan :black-bg :red-bg :green-bg :yellow-bg :blue-bg :magenta-bg :cyan-bg :white-bg :underline :italic :bold :strikethrough :inverse].

Each of these also has a function created for it: (cyan "woohoo")

Wrap the given strings in the provided color. Color should be
a keyword and can be any of the following:

[:reset :default :white :black :red :green :blue :yellow :magenta :cyan
 :black-bg :red-bg :green-bg :yellow-bg :blue-bg :magenta-bg :cyan-bg :white-bg
 :underline :italic :bold :strikethrough :inverse].

Each of these also has a function created for it: (cyan "woohoo")
raw docstring

colorizecljmacro

(colorize codes & forms)

Wrap the given form in the provided color

Wrap the given form in the provided color
raw docstring

create-colorscljmacro

(create-colors)

cyanclj

(cyan & s__1836__auto__)

cyan-bgclj

(cyan-bg & s__1836__auto__)

defaultclj

(default & s__1836__auto__)

greenclj

(green & s__1836__auto__)

green-bgclj

(green-bg & s__1836__auto__)

inverseclj

(inverse & s__1836__auto__)

italicclj

(italic & s__1836__auto__)

magentaclj

(magenta & s__1836__auto__)

magenta-bgclj

(magenta-bg & s__1836__auto__)

redclj

(red & s__1836__auto__)

red-bgclj

(red-bg & s__1836__auto__)

resetclj

(reset & s__1836__auto__)

show-allclj

(show-all)

strikethroughclj

(strikethrough & s__1836__auto__)

underlineclj

(underline & s__1836__auto__)

whiteclj

(white & s__1836__auto__)

white-bgclj

(white-bg & s__1836__auto__)

yellowclj

(yellow & s__1836__auto__)

yellow-bgclj

(yellow-bg & s__1836__auto__)

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

× close