问题
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