Skip to content

zeakd/tinypost

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published