Brr_svg contains the DSL-bindings to emit SVG-documents, just like the Brr binds to the generic HTML elements.
esy add git+https://gitlab.com/schutm/brr_svg
or any other method supported by esy.
let svg =
let open Brr_svg in
let let v = Jstr.v (* from the Brr library)
El.svg
~at:[ At.viewbox (v "0 0 87 87") ]
[ El.txt' "SVG" ]
Open a new issue for bugs or feature requests. Please search for existing issues first.
Bugs or feature request will be fixed in the following order, if time permits:
- It has a pull-request with a working and tested fix.
- It is easy to fix and has benefit to myself or a broader audience.
- It puzzles me and triggers my curiosity to find a way to fix.
Of course this library would be impossible without the excellent [Brr]((https://erratique.ch/software/brr).
[ ] Probably expose some more functions, to give more flexibility [ ] Release to opam and/or npm [ ] I think some improvements can be made
Anyone and everyone is welcome to contribute.