[skip ci] projects.md

This commit is contained in:
Michiel Borkent 2021-03-03 12:00:41 +01:00
parent f335716d1d
commit 2eb27ae183

View file

@ -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