ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

ECT

by TurtlePie ALL

No description provided

Details

  • 2013.04.03.15.04.36
  • github.​com
  • github.​com
  • 12 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 2K
  • Win 554
  • Mac 723
  • Linux 274
Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Sublime Text 2 Syntax highlighting for ECT, embedded CoffeeScript HTML
Additionally, as ECT is backward compatible with ECO, so is this.

See: http://ectjs.com

Comes with sets of open and close tags:

<% %>
<< >>
<? ?>
{{ }}

You would specify open and close options when you create a new ECT engine/renderer, within your application.

Install

Via the Sublime Package Manager, under ECT.
Or simply clone this repo into /Sublime Text 2/Data/Packages/ECT/

Optional

You may create your own tags by copying a .tmLanguage file.
The {{ }} template, ect_html3.tmLanguage, would be the easiest.

Replace all occurances (they're all contained within one <dict> around line 500) of each open and close tag with your own tags

Also, be sure to rename the .tmLanguage near the top of the file: “ name ECT {{

Note that html characters must be encoded within the .tmLanguage files. eg. `<` is expressed as `&lt;`