Liking cljdoc? Tell your friends :D
All platforms.

bling.hifi


choppedclj/s

(chopped s max-width)

Truncates lines in a formatted paragraph at supplied max-width, adding ellipsis. Accounts for ansi sgr tags.

Truncates lines in a formatted paragraph at supplied max-width, adding
ellipsis. Accounts for ansi sgr tags.
sourceraw docstring

hificlj/s

(hifi x)
(hifi x opts)

Hi-fidelity, pretty-printed string with syntax-coloring. Dispatches to fireworks.core/_p2

Hi-fidelity, pretty-printed string with syntax-coloring. Dispatches to
fireworks.core/_p2
sourceraw docstring

(print-hifi x)
(print-hifi x opts)

Prints a structurally formatted value with syntax-coloring based on user's preferred theme. Dispatches to fireworks.core/_p2.

In JVM Clojure, cljs(Node), and bb, print-hifi is sugar for: (println (bling.core/hifi x))

In cljs (browser dev consoles), print-hifi is sugar for the the following:

(->> (bling.core/hifi x)
      bling.browser/ansi-sgr-string->browser-dev-console-array
      (.apply js/console.log js/console))
Prints a structurally formatted value with syntax-coloring based on user's
preferred theme. Dispatches to fireworks.core/_p2.

In JVM Clojure, cljs(Node), and bb, `print-hifi` is sugar for:
`(println (bling.core/hifi x))`

In cljs (browser dev consoles), `print-hifi` is sugar for the the following:
```Clojure
(->> (bling.core/hifi x)
      bling.browser/ansi-sgr-string->browser-dev-console-array
      (.apply js/console.log js/console))
```
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close