我有这份小标题:
!!! 5
html
head
title test include
style(type= text/css )
//- DOES NOT WORK!
include test.css
body
//- works
include test.css
div
//- works
include test.css
产出:
$ jade -P test.jade
rendered test.html
$ cat test.html
<!DOCTYPE html>
<html>
<head>
<title>test include</title>
<style type="text/css">
//- DOES NOT WORK!
include test.css
</style>
</head>
<body>body { color: peachpuff; }
<div> body { color: peachpuff; }
</div>
</body>
</html>
当然,我可以简单地把档案联系起来,但我不想这样做。