0.1.2 • Published 7 years ago

patternengine-node-thymol v0.1.2

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

The Thymol engine for Pattern Lab / Node

This engine adds Thymeleaf support to the Node edition of Pattern Lab using thymol-node.

Installing

To install the Thymol engine in your edition, npm install patternengine-node-thymol should do the trick.

Supported features

Partial calls and lineage hunting are supported. Thymol does not support the mustache-specific syntax extensions, style modifiers and pattern parameters, because their use cases are addressed by the core Thymol feature set. Thymeleafs th:include is also not possible, use th:replace instead.

Note: You cannot use th:replace with other attributes on a tag. th:replace gets interpreted and string-replaced by the patternengine, even before thymol has the chance to parse it. One workaround for this is by wrapping it with a <th:block>.