Skip to content

Latest commit

 

History

History

scalatags-by-example

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Scalatags by example

Library for creating HTML/XML/SVG documents.

Resources

SVG Resources

Running the driver

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 

Future work (TODO)

Unit tests for cheatsheet make web calls to fetch duolingo vocabulary.