This package strictly follows Semantic Versioning.
- Added context information support for syntax errors.
- Switched to @mojojs/util for utility functions.
- Renamed
mt
template literal totmpl
.
- Made
SafeString
a proper subclass ofString
.
- Made whitespace trimming significantly smarter.
- Added support for generating template blocks with
<{{helloBlock}}>Hello World!<{{/helloBlock}}>
.
- Made template blocks easier to reuse by wrapping them in
SafeString
objects.
- Added support for reusable template blocks (
<{helloBlock}>Hello World!<{/helloBlock}>
).
- Added
mt
tagged template literal support.
- Added support for newline trimming.
First major release.