node-file-to-string
node helper that outputs whatever file (html, xml, svg etc..) as a string. Using a cache, and automatic transformers by file-type
Installation
npm install node-file-to-string --save
Usage
Usage in Node / Gulp / Grunt
jadeInline = ;
Make use of transformers
marked = ;jadeInline = md: marked;/* files ending with *.md will be parsed with marked before returned */
make sure to pass the function to your jade data.
jade;
Inside a jade file
!= helpers