I want to parse Jade coming from a database. Like from a blog post, where the body is in Jade. Right now I can parse HTML from Jade using:
!= post.body
It works for HTML, but doesn’t for Jade. Is there a way to parse the Jade from an external source?
If you are trying to compile text-string as Jade template (post body from database):
You can compile Jade string within a template. That’s odd, but anyway: