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

Releases

No releases published

Packages