How to use the render function from jade
Find comprehensive JavaScript jade.render code examples handpicked from public code repositorys.
GitHub: zhoutony/html5
163 164 165 166 167 168 169 170 171 172
An options object (see above), also used as the locals object returnsstring The resulting html string var jade = require('jade'); var html = jade.render('string of jade', options); // => '<string>of jade</string>' jade.renderFile(filename, options) filenamestring The path to the jade file to render
21
24
7
jade.compile is the most popular function in jade (34 examples)