djhtml icon indicating copy to clipboard operation
djhtml copied to clipboard

How to add "elseif" for twig

Open hansemschnokeloch opened this issue 1 year ago • 0 comments

Hi,

I'm using djhtml to format twig files. It works very well except for elseif that is used by twig instead of elif in jinja2

How can I modify djhtml in order to recognize elseif as elif ?

Adding elif in twig was discussed here https://github.com/twigphp/Twig/issues/1282

hansemschnokeloch avatar Jun 22 '24 09:06 hansemschnokeloch