mikeal/node.couchapp.js — Issue #33: support for !json and !code macros
Author: cmadsen
Created: 2011-10-17 20:02:00+00:00
State: open

couchapp support two "macros" for doing server side includes. See http://guide.couchdb.org/draft/show.html

eg:

function(doc, req) {
// !json templates.edit
// !json blog
// !code vendor/couchapp/path.js
// !code vendor/couchapp/template.js

It would very convenient if there was support for this