Open steakchaser opened 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!
related-ish to https://github.com/machty/emblem.js/issues/156
+1
++1. On an unrelated note, it was the only hurdle I faced transferring a ton of Rails slim views to an Ember app =)
1++
+= 1
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!