如何在slim中添加空格

在slim中如果想在两端代码中间添加一个空格,可以通过下面的方式

= link_to "btn1", "#", :class => "btn"
'
= link_to "btn2", "#", :class => "btn"

加一个'

但代码好丑~

comments powered by Disqus