0.1.0-alpha.b035843b • Published 7 years ago
barnes-pandoc v0.1.0-alpha.b035843b
Barnes-Pandoc
Convert (nearly) anything into (nearly) anything else, through the power of Pandoc!
Prerequisites
You'll need a functioning Pandoc install. Go to pandoc.org and find the installation instructions for your platform.
Installation
yarn add barnes-pandoc
Usage
import Barnes from 'barnes';
import pandoc from 'barnes-pandoc';
(async () => {
await new Barnes('/Users/Dev/Documents')
.read('**/*.*')
// convert everything we can to markdown!
.map(pandoc({ '*': 'commonmark' }))
// all convertable files are now markdown!
.write('md');
}());
0.1.0-alpha.d6c1bf5f
7 years ago
0.1.0-alpha.b035843b
7 years ago