Skip to content

Latest commit

 

History

History
77 lines (57 loc) · 2.14 KB

README.md

File metadata and controls

77 lines (57 loc) · 2.14 KB

Warning

This package is no longer maintained. It will not receive updates, fixes or support. PostHTML itself can be used directly: https://github.com/posthtml/posthtml

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