machty / emblem.js

Emblem.js - Ember-friendly, indented syntax alternative for Handlebars.js
http://emblemjs.com
MIT License
1.04k stars 81 forks source link

Syntax addition for plaintext #252

Closed Manuel-Manoury closed 8 years ago

Manuel-Manoury commented 9 years ago

New syntax for plaintext formatting :

Fixes #156

Existing tests on the current syntax were adapted and all passed successfully.

bnetter commented 9 years ago

:+1:

tmosmant commented 9 years ago

:+1:

vanwalj commented 9 years ago

:+1:

machty commented 9 years ago

Do we need/want + when you can just add an extra space?

Manuel-Manoury commented 9 years ago

It makes the syntax look more homogenous, and the same could be said for '. I guess as long as it doesn't break anything, it's cool to have the choice between options to keep our templates well organized and readable without counting spaces, isn't it ?

machty commented 8 years ago

@Manyuuz could you put in a PR to https://github.com/machty/emblem-site to document this new syntax?

Manuel-Manoury commented 8 years ago

Sure, will do ASAP :)