Library for creating HTML/XML/SVG documents.
- Describing paths: https://www.nan.fyi/svg-paths/
This project includes an example executable that can be used to demonstrate some SVG generation tools.
mvn package
# Using the uber jar from the command line
alias byexample_go_scalatags="java -jar $(find ~+ -name scalatags-by-example-*.jar)"
byexample_go_scalatags --help
# Dump Duolingo Chinese section 3 vocabulary into a cheatsheet.
byexample_go_scalatags cheatsheet --section 3 > /tmp/section3.svg
Unit tests for cheatsheet
make web calls to fetch duolingo vocabulary.