jeromegn/DocumentUp — Issue #24: publish npm module, xxpose 'compiled' method
Author: syntacticx
Created: 2012-02-05 23:43:43+00:00
State: open

The source doesn't look setup for this, but it would be great to have the functionality exposed as a method in a module (even if internally it booted up the express server). I'm thinking something like:

require('DocumentUp').compile({
content: 'markdown content here',
name: 'BLAH!'
}, function(html_output) {

});