Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Twig (+JavaScript) syntax mode for Coda and SubEthaEdit.
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README.markdown Fork Twig-HTML to create Twig-JavaScript.


Twig (+JavaScript) syntax mode for Coda and SubEthaEdit

A Twig (+JavaScript) syntax mode for Coda (and possibly SubEthaEdit) written by bobthecow.

Twig.mode currently supports:

  • Complete JavaScript syntax highlighting.
  • 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.


Drop Twig-JavaScript.mode into ~Library/Application Support/Coda/Modes. If that folder doesn't exist, create it.


  1. Install.
  2. Open a file with a .js.twig extension in Coda or SubEthaEdit.
  3. ?
  4. Profit!
Something went wrong with that request. Please try again.