An open API service indexing awesome lists of open source software.

https://github.com/jstransformers/jstransformer-posthtml

PostHTML support for JSTransformers.
https://github.com/jstransformers/jstransformer-posthtml

Last synced: 4 months ago
JSON representation

PostHTML support for JSTransformers.

Awesome Lists containing this project

README

          

# jstransformer-posthtml

[PostHTML](https://github.com/posthtml/posthtml) support for [JSTransformers](http://github.com/jstransformers).

[![Build Status](https://img.shields.io/travis/jstransformers/jstransformer-posthtml/master.svg)](https://travis-ci.org/jstransformers/jstransformer-posthtml)
[![Coverage Status](https://img.shields.io/codecov/c/github/jstransformers/jstransformer-posthtml/master.svg)](https://codecov.io/gh/jstransformers/jstransformer-posthtml)
[![Dependency Status](https://img.shields.io/david/jstransformers/jstransformer-posthtml/master.svg)](http://david-dm.org/jstransformers/jstransformer-posthtml)
[![NPM version](https://img.shields.io/npm/v/jstransformer-posthtml.svg)](https://www.npmjs.org/package/jstransformer-posthtml)

## Installation

npm install jstransformer-posthtml

## API

```js
var posthtml = require('jstransformer')(require('jstransformer-posthtml'))
var html = 'Super TitleAwesome Text'
var options = {
plugins: [
'posthtml-custom-elements'
]
}

posthtml.render(html, options).body
//=>


Super Title

Awesome Text


```

## License

MIT