recursively bundle arbitrary files!!!!
npm install -g bundledown
make a markdown file:
# my cool markdown document
lets bundle some markdown
@include('./src/other-markdown-file.md')
nice
now just
bundledown index.md -o bundle.md
or, in js,
var bundledown = require('bundledown')
var filePath = require('path').join(__dirname, 'myfile.md')
var readStream = require('fs').createReadStream(filePath)
bundledown(readStream).pipe(process.stdout)
recursively bundles the file at path. returns a stream.
BSD