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

Add support to include whitespace between elements #132

Open steakchaser opened 10 years ago

steakchaser commented 10 years ago

The single tick works fine for adding whitespace after text blocks, but many layouts rely on whitespace between elements. Slim offers a < or > operator that can be used prepend / append whitespace to elements:

a< href='url1' Link1

Would be sweet is emblem had something similar!

bj-mcduck commented 10 years ago

related-ish to https://github.com/machty/emblem.js/issues/156

SeanRoberts commented 10 years ago

+1

nybblr commented 9 years ago

++1. On an unrelated note, it was the only hurdle I faced transferring a ton of Rails slim views to an Ember app =)

radicalsauce commented 9 years ago

1++

batamire commented 9 years ago

+= 1