Apply a Pug template to a given JSON object which provides the variables.
Pug is a high-performance template engine heavily influenced by Haml and implemented with JavaScript for Node.js and in Java via Pug4J. It allows for clean, whitespace-sensitive HTML templates with powerful variable interpolation.
You can pass JSON cells which contain the variable data and
reference them within your Pug templates directly by variable
name. For example, for a JSON cell with the content
{ "firstname" : "Bob" , "lastname": "Ross" }
,
you can render the values as follows:
p #{data.firstname} #{data.lastname}
You can reference flow variable values (primitive and array
types) through the variables
property.
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension Palladian for KNIME from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.