tinypost
v0.0.2
Published
tiny but extensible front-mattered markdown post builder
Downloads
5
Maintainers
Readme
Tinypost
Usage
tinypost.config.js
const { markdown } = require('tinypost/middlewares');
module.export = {
outDir: 'build',
parse,
ext: ['.md', '.markdown']
middlewares: [
markdown(),
],
}
root priority
- use
config.cwd
in tiny.config.js. - use
process.cwd()
if--config
options. - nearest
package.json
dirname. process.cwd()