This is the demo file of the custom macro collection. It is now publicly available for your perusal.
See it compiled here.
Requires Tweego v2.0.0 or higher. Run:
tweego -f sugarcube-2 -o index.html src
Windows users may simply run the include batch file, which just executes the above command.