问题
According to Jade documentation, I can write:
div
ul
li.active one
li two
li three
I am considering something like this:
div - ul
li.active one
li two
li three
How can I put multiple html tags in one line? I did not find a way in the documentation.
Thanks in advance. :)
回答1:
div: ul
li.active one
li two
li three
https://pugjs.org/language/tags.html
来源:https://stackoverflow.com/questions/29232733/jade-nested-html-tag-in-one-line