But it breaks when I add more content under the template helper:
:t(render="markdown")
here is some *markdown*
p More HTML
This is the error I get:
error: An error occured:
SyntaxError: Unexpected token ILLEGAL
at Object.Function (unknown source)
at Object.exports.compile (/Users/mikemurray/Desktop/mikemurray.me/node_modules/docpad-plugin-jade/node_modules/jade/lib/jade.js:176:8)
at JadePlugin.module.exports.JadePlugin.render (/Users/mikemurray/Desktop/mikemurray.me/node_modules/docpad-plugin-jade/out/jade.plugin.js:77:36)
at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:21:27)
at DocPad.BasePlugin.bindEvents (/usr/local/lib/node_modules/docpad/out/lib/plugin.js:90:18)
at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:21:27)
at Task.EventEmitterEnhanced.getListenerGroup (/usr/local/lib/node_modules/docpad/node_modules/bal-util/out/lib/events.js:36:16)
at ambi (/usr/local/lib/node_modules/docpad/node_modules/ambi/out/lib/ambi.js:21:27)
at Task.run (/usr/local/lib/node_modules/docpad/node_modules/taskgroup/out/lib/taskgroup.js:78:19)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
docpad: 6.30.0 docpad-plugin-jade: 2.3.1 node: 0.8.14 os: OSX 10.8.3
Doing the following in my jade template works:
But it breaks when I add more content under the template helper:
This is the error I get: