Skip to content

posthtml/metalsmith-posthtml

Repository files navigation

NPM Deps Tests Coverage Standard Code Style Chat

Metalsmith PostHTML

Install

npm i -D metalsmith-posthtml

Usage

import metalsmith from 'metalsmith'
import posthtml from 'metalsmith-posthtml'

const plugins = [/* Plugins */]
const options = {/* Options */}

metalsmith(__dirname)
    .source('src')
    .destination('dest')
    .use(posthtml(plugins, options))
    .build((err) => {
      if (err) throw err
    })

Maintainers


Michael Ciniawsky

Contributing

See PostHTML Guidelines and contribution guide.

LICENSE

MIT

About

PostHTML for Metalsmith

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •