/tinypost

tiny renderer for blog-aware post like in jekyll, hexo.

Primary LanguageJavaScriptMIT LicenseMIT

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()