Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

headissue/patternengine-node-thymol

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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>.

About

Thymeleaf support for Pattern Lab Node via Thymol.js

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published
Morty Proxy This is a proxified and sanitized view of the page, visit original site.