We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A reference (what doT would call an interpolation) outputs data into the template.
https://squirrelly.js.org/docs/syntax/interpolate
The text was updated successfully, but these errors were encountered:
If you actually want to be able to write something like: {{ reference }} rather than {{ it.reference }}, simply render as such:
{{ reference }}
{{ it.reference }}
const myTemplate = 'My favorite template engine is {{reference}}.' const data = { reference: 'Squirrelly' } const result = Sqrl.render(myTemplate, data, { useWith: true })
Sorry, something went wrong.
No branches or pull requests
References (Interpolate) | SquirrellyJS
A reference (what doT would call an interpolation) outputs data into the template.
https://squirrelly.js.org/docs/syntax/interpolate
The text was updated successfully, but these errors were encountered: