What about Line Breaks in Jade?

前端 未结 10 1808
情书的邮戳
情书的邮戳 2020-12-08 03:46

I\'m pretty sure that this is a no-brainer but I didn\'t find any snippet of sample code. What\'s the best way to insert line breaks (aka the good ol\' br/)?

As far

10条回答
  •  旧巷少年郎
    2020-12-08 04:25

    Just in case you have not used the year filter on the first search: How to add br tag with Jade HTML

    Put the text on a new line with a preceding |:

    p first line
    br
    | second line
    

提交回复
热议问题