Liking cljdoc? Tell your friends :D

hara.io.ansii


attributesclj


(blink & args)

blueclj

(blue & args)

boldclj

(bold & args)

colorsclj


concealedclj

(concealed & args)

cyanclj

(cyan & args)

darkclj

(dark & args)

define-ansii-formsclj

(define-ansii-forms)

defines ansii forms given by the lookups

;; Text: ;; [blue cyan green grey magenta red white yellow]

(blue "hello") => "[34mhello[0m"

;; Background: ;; [on-blue on-cyan on-green on-grey ;; on-magenta on-red on-white on-yellow]

(on-white "hello") => "[47mhello[0m"

;; Attributes: ;; [blink bold concealed dark reverse-color underline]

(blink "hello") => "[5mhello[0m"

defines ansii forms given by the lookups

;; Text:
;; [blue cyan green grey magenta red white yellow]

(blue "hello")
=> "hello"

;; Background:
;; [on-blue on-cyan on-green on-grey
;;  on-magenta on-red on-white on-yellow]

(on-white "hello")
=> "hello"

;; Attributes:
;; [blink bold concealed dark reverse-color underline]

(blink "hello")
=> "hello"
raw docstring

encodeclj

(encode modifier)

encodes the ansii characters for modifiers (encode :bold) => "[1m"

(encode :red) => "[31m"

encodes the ansii characters for modifiers
(encode :bold)
=> ""

(encode :red)
=> ""
raw docstring

greenclj

(green & args)

greyclj

(grey & args)

highlightsclj


lookupclj


magentaclj

(magenta & args)

on-blueclj

(on-blue & args)

on-cyanclj

(on-cyan & args)

on-greenclj

(on-green & args)

on-greyclj

(on-grey & args)

on-magentaclj

(on-magenta & args)

on-redclj

(on-red & args)

on-whiteclj

(on-white & args)

on-yellowclj

(on-yellow & args)

redclj

(red & args)

reverse-colorclj

(reverse-color & args)

styleclj

(style text modifiers)

styles the text according to the modifiers

(style "hello" [:bold :red]) => "[1m[31mhello[0m"

styles the text according to the modifiers

(style "hello" [:bold :red])
=> "hello"
raw docstring

underlineclj

(underline & args)

whiteclj

(white & args)

yellowclj

(yellow & args)

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

× close