tamino-martinius / atom-language-spacebars

Spacebars language from Meteor.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 }}

About

Spacebars language from Meteor.js