https://github.com/posthtml/metalsmith-posthtml
PostHTML for Metalsmith
https://github.com/posthtml/metalsmith-posthtml
Last synced: 10 months ago
JSON representation
PostHTML for Metalsmith
- Host: GitHub
- URL: https://github.com/posthtml/metalsmith-posthtml
- Owner: posthtml
- License: mit
- Created: 2016-05-24T14:44:01.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T21:41:55.000Z (almost 9 years ago)
- Last Synced: 2024-10-29T21:06:03.409Z (over 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 31.3 KB
- Stars: 6
- Watchers: 4
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
[![NPM][npm]][npm-url]
[![Deps][deps]][deps-url]
[![Tests][build]][build-url]
[![Coverage][cover]][cover-url]
[![Standard Code Style][style]][style-url]
[![Chat][chat]][chat-badge]
# Metalsmith PostHTML 
## Install
```bash
npm i -D metalsmith-posthtml
```
## Usage
```js
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
## Contributing
See [PostHTML Guidelines](https://github.com/posthtml/posthtml/tree/master/docs) and [contribution guide](CONTRIBUTING.md).
## LICENSE
[MIT](LICENSE)
[npm]: https://img.shields.io/npm/v/metalsmith-posthtml.svg
[npm-url]: https://npmjs.com/package/metalsmith-posthtml
[deps]: https://david-dm.org/posthtml/metalsmith-posthtml.svg
[deps-url]: https://david-dm.org/posthtml/metalsmith-posthtml
[build]: http://img.shields.io/travis/posthtml/metalsmith-posthtml.svg
[build-url]: https://travis-ci.org/posthtml/metalsmith-posthtml
[cover]: https://coveralls.io/repos/github/posthtml/metalsmith-posthtml/badge.svg?branch=master
[cover-url]: https://coveralls.io/github/posthtml/metalsmith-posthtml?branch=master
[style]: https://img.shields.io/badge/code%20style-standard-yellow.svg
[style-url]: http://standardjs.com/
[chat]: https://badges.gitter.im/posthtml/posthtml.svg
[chat-badge]: https://gitter.im/posthtml/posthtml?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge"