Its easy to do it without jade. coz am received POST data and just doing
- Then redirecting the user to the path.
so in terms of code demo, with jade
var jade = require('jade');
var fn = jade.compile( // Write some Jade Code Here, { filename: 'public/j234kl5a2j6s3g4/'});fn( req.params.textArea ); // textArea is the name of the data am sending.
Would that be correct???
- And in the place to write jade Code, since the string is like kinda long, roughly 200 lines of code, it would look ugly, do write code there. Other Cleaner options?? Other than making a module and doing a require with a toString which is similarly ugly.
aaaaargh, i might aswell just write raw html