Jade — nested html tag in one line

守給你的承諾、 提交于 2019-12-10 16:36:51

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!