Twig-HTML.mode
Twig-HTML.mode copied to clipboard
A Twig syntax mode for Coda 2
Twig (+HTML) syntax mode for Coda 2 (and possibly SubEthaEdit)
A Twig (+HTML) syntax mode for Coda (and possibly SubEthaEdit) written by bobthecow and extended by muxx.
Twig-HTML.mode currently supports:
- Partial HTML syntax highlighting (without inline CSS and Javascript).
- All Twig template tags and constructs (through 0.9.10).
- Blocks and macros in the Code Navigator.
- Autocomplete for core Twig tags and filters.
- i18n extension tags and filters (including autocompletion).
- Symfony2 core Twig tags and filters.
Installation
Drop Twig-HTML.mode
into ~Library/Application Support/Coda 2/Modes
. If that folder
doesn't exist, create it.
Usage
- Install.
- Open a file with a
.twig
extension in Coda 2 or SubEthaEdit. - Profit!