How to use the renderFile function from jade

Find comprehensive JavaScript jade.renderFile code examples handpicked from public code repositorys.

174
175
176
177
178
179
180
An options object (see above), also used as the locals object
returnsstring
The resulting html string
var jade = require('jade');

var html = jade.renderFile('path/to/file.jade', options);
// ...
fork icon21
star icon24
watch icon7