Adding custom twig extensions
ivkremer opened this issue · 2 comments
ivkremer commented
Hi.
Is it possible to add a custom twig extension? For instance I would like to add a hello
extension which would output hello, whatever
for {% hello %}whatever{% endhello }%
, how can I do this?
samdark commented
Yes. Check Twig docs.
antgubarev commented
Use 'extensions' option in component configuration.