title: Render pug template from string?
body: <p>Is it posible to render a html-page with pug template as a string?
  In nodejs you can generate a html- page with a "pug tempalte" like here:</p>
  
  <pre><code>var express = require('express')  
  var app = express()  
  app.set('view engine', 'pug')
  var mytemplate="html\n\thead\n\tbody";
  app.get('/', function (req, res) {  
      res.render(
          'index',
          { title: 'Hey Hey Hey!', message: 'Yo Yo'})
  })
  
  app.listen(3000, function () {  
      console.log('Example app listening on port 3000!')
  })
  </code></pre>
  
  <p>the template file should be in ./views/index.pug.</p>
  
  <p>is it posible to use the template saved in "mytemplate" -variable instead of the file content?</p>