Skip to content
New issue

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

lamda function with renderer argument #27

Open
hayespan opened this issue May 9, 2019 · 0 comments
Open

lamda function with renderer argument #27

hayespan opened this issue May 9, 2019 · 0 comments

Comments

@hayespan
Copy link

hayespan commented May 9, 2019

When the value is a callable object, such as a function or lambda, the object will be invoked and passed the block of text. The text passed is the literal block, unrendered. {{tags}} will not have been expanded - the lambda should do that on its own. In this way you can implement filters or caching.

https://mustache.github.io/mustache.5.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant