[skip ci] projects.md
This commit is contained in:
parent
f335716d1d
commit
2eb27ae183
1 changed files with 19 additions and 0 deletions
|
|
@ -34,6 +34,7 @@ The following libraries and projects are known to work with babashka.
|
|||
- [environ](#environ)
|
||||
- [gaka](#gaka)
|
||||
- [failjure](#failjure)
|
||||
- [pretty](#pretty)
|
||||
- [Pods](#pods)
|
||||
- [Projects](#projects-1)
|
||||
- [babashka-test-action](#babashka-test-action)
|
||||
|
|
@ -450,6 +451,24 @@ Working with failed computations in Clojure.
|
|||
(f/fail "foo")
|
||||
```
|
||||
|
||||
### [pretty](https://github.com/AvisoNovate/pretty)
|
||||
|
||||
The `io.aviso.ansi` namespace provides ANSI font and background color support.
|
||||
|
||||
``` clojure
|
||||
(require '[babashka.deps :as deps])
|
||||
|
||||
(deps/add-deps
|
||||
'{:deps {io.aviso/pretty {:mvn/version "0.1.36"}}})
|
||||
|
||||
(require '[io.aviso.ansi :as ansi])
|
||||
|
||||
(println
|
||||
(str "The following text will be "
|
||||
ansi/bold-red-font "bold and red "
|
||||
ansi/reset-font "but this text will not."))
|
||||
```
|
||||
|
||||
## Pods
|
||||
|
||||
[Babashka pods](https://github.com/babashka/babashka.pods) are programs that can
|
||||
|
|
|
|||
Loading…
Reference in a new issue