flatwhite-syntax icon indicating copy to clipboard operation
flatwhite-syntax copied to clipboard

Support for Antlers and Twig

Open bgarrant opened this issue 8 years ago • 3 comments

Is there any chance you can add support for Antlers and Twig? Flatwhite is such a beautiful theme but it does not highlight the tags in these two languages. They are basically just additional tags for HTML.

https://atom.io/packages/language-antlers https://atom.io/packages/language-twig

bgarrant avatar Jan 12 '18 11:01 bgarrant

Antlers pretty much uses {{ }} for tags and {{# #}} for comments. See https://docs.statamic.com/antlers#tag-syntax.

Twig is similar with {{ }}, {% %} and {# #}. See https://twig.symfony.com/doc/2.x/templates.html.

bgarrant avatar Jan 12 '18 12:01 bgarrant

screen shot 2018-01-12 at 12 10 28 pm

You can see an additional color is needed to separate the {{ }} items from rest of code.

bgarrant avatar Jan 12 '18 17:01 bgarrant

Any chance you can add these two languages?

bgarrant avatar Feb 07 '18 11:02 bgarrant