Rebind this to false if you don't want to see ANSI codes in some part of your code.
Rebind this to false if you don't want to see ANSI codes in some part of your code.
(ansi code)
Output an ANSI escape code using a style key. (ansi :blue) (ansi :underline) Note, try (style-test-page) to see all available styles. If use-ansi is bound to false, outputs an empty string instead of an ANSI code. You can use this to temporarily or permanently turn off ANSI color in some part of your program, while maintaining only 1 version of your marked-up text.
Output an ANSI escape code using a style key. (ansi :blue) (ansi :underline) Note, try (style-test-page) to see all available styles. If *use-ansi* is bound to false, outputs an empty string instead of an ANSI code. You can use this to temporarily or permanently turn off ANSI color in some part of your program, while maintaining only 1 version of your marked-up text.
(style s & codes)
Applies ANSI color and style to a text string. (style "foo" :red) (style "foo" :red :underline) (style "foo" :red :bg-blue :underline)
Applies ANSI color and style to a text string. (style "foo" :red) (style "foo" :red :underline) (style "foo" :red :bg-blue :underline)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close