Version 1.1 Release
Updates
- #66 - HTML support
- Modularity (needs documentation), you can load modules that register custom:
- Functions e.g.
content: CUSTOMFUNCTION(args)
- Pseudo elements e.g.
td:CUSTOMPSEUDO {content: bar}
- Properties e.g.
div { CUSTOMPROPERTY: "foo"; }
- Formatters e.g.
div {content: bar; format: CUSTOMFORMATTER}
- Functions e.g.
- #46 - Template inheritance
- Single line comments
- #3 - limit on repeat, you can call
repeat: data(list) 3
to only show the first 3 records fromdata(list)
- #53 - Allows @import to reference functions (ex:
data()
) - #85 - Nth-child now supports elements of different type
- New Functions
- Json function
json("file.json")
- #94 - root function which accesses root data
- Json function
- Added
nl2br
format which is like the nativenl2br
function but still escapes the content - Exception is now thrown when tss is fed to it but there is no valid tss