language-spacebars

Adds syntax highlighting and snippets to Spacebars files in Atom.

zaku-eu

3,970

14

Bug Reports

0.3.2

MIT

GitHub

language-spacebars package

Adds syntax highlighting and snippets to Spacebars files in Atom. Can also be used for Handlebars.

Feedback

Feel free to submit issues or pull requests with suggestions for more.

Generic Snippets

if: if

{{#if condition}}

{{/if}}

if - else: ife

{{#if condition}}

{{else}}

{{/if}}

unless: un

{{#unless condition}}

{{/unless}}

unless - else: une

{{#unless condition}}

{{else}}

{{/unless}}

with: wt

{{#with item}}

{{/with}}

with - else: wte

{{#with item}}

{{else}}

{{/with}}

each: ea

{{#each items}}

{{/each}}

each - else: eae

{{#each items}}

{{else}}

{{/each}}

let: let

{{#let variables}}

{{/let}}

partial: pa

{{> template }}