Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 1.1 KB

File metadata and controls

25 lines (15 loc) · 1.1 KB

Brackets Twig Syntax Highlighter

Brackets is a modern open-source code editor for HTML, CSS and JavaScript that's built in HTML, CSS and JavaScript. That is, a modern code editor for web designers and front-end developers.

This is a Brackets extension adding syntax highlighting for the Twig template engine (.twig files).

This extension is using the jinja2 mode of CodeMirror until CM has a proper Twig extension.

##How to install this extension The extension can be directly installed using the Extension Manager of Brackets.

  1. File -> Extension Manager
  2. Search for Twig
  3. Click install on Twig Syntax Highlighter extension

And that's all. Now you can enjoy syntax highlighting for Twig files in Brackets

In order to enable it for Twig files, open a new Twig file, click on the current language at bottom right of Brackets window (normally HTML) and select Twig in the dropdown menu.

This extension is registered @ Brackets Extension Registry.

##Notes Turtle Syntax Highlighter