this shows as all commented (see screenshot) but Twig does not seem to work like that.. It will uncomment on the first #}
{# this is commented {# this was commented earlier #} but will break #}
Twig (at least the Timber version for Wordpress that I've tested) will show but will break #} on the page as it closed the comment on the first occurrence of #}
Sublime's PHP Twig by Anomareh (top image) does it the same way Twig does it.
admittedly production code would probably not be like that but during development we may comment out large chunks temporarily, so it's useful to see where the actual offending nested closing comment is
Hi
this shows as all commented (see screenshot) but Twig does not seem to work like that.. It will uncomment on the first
#}
Twig (at least the Timber version for Wordpress that I've tested) will show
but will break #}
on the page as it closed the comment on the first occurrence of#}
Sublime's PHP Twig by Anomareh (top image) does it the same way Twig does it.
admittedly production code would probably not be like that but during development we may comment out large chunks temporarily, so it's useful to see where the actual offending nested closing comment is
thanks j
Sublime/Anomareh
Atom/Reesef