Haml syntax: split a line to a couple of rows

后端 未结 5 1307
慢半拍i
慢半拍i 2021-01-03 20:15

I use HAML in my rails project for my html templates. I would like to figure out if its possible to divide a very long line and make it a couple of rows:

%a.         


        
5条回答
  •  借酒劲吻你
    2021-01-03 20:59

    I believe you can achieve this with the help of |. You can read about it in the haml documentation here.

提交回复
热议问题