tangledown is a template language created in 2011 by Nicholas Bollweg.
#2103on PLDB | 13Years Old |
git clone https://github.com/bollwyvl/tangledown
tangledown combines the simplicity of Markdown syntax with the sexiness of Tangle.js reactive documents and the loveliness of Rickshaw plots
If you eat t[number](cookies ' cookies'), you consume t[](calories ' calories'). This constitutes t[](dailypercent percent) of a daily intake of t[number](100<dailycalories..100 ' calories').
t[if](overninek)
~ # It's over 9000!
~~~~.initialize
#cookies: 3
#calories: 150
#dailypercent: 1
#dailycalories: 2100
#overninek: 0
~~~~
~~~~.update
#calories: #cookies * 50
#dailypercent: (#cookies * 50) / #dailycalories
#overninek: #calories > 9000
~~~~