Writing Pure HTML in Jade

不羁岁月 提交于 2019-12-11 01:32:15

问题


Jade appears to choke on WebGL shader/fragment blocks when writing in Jade format, so I would like to write them as straight HTML while still being able to write Jade around it. Is this possible?


回答1:


These:

html
    body
        | <h1>Title</h1>
        | <p>foo bar baz</p>

compiles into:

<!DOCTYPE html>
<html>
    <body>
        <h1>Title</h1>
        <p>foo bar baz</p>
    </body>
</html>

hope it helps



来源:https://stackoverflow.com/questions/16404582/writing-pure-html-in-jade

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