@starptech/prettyhtml-formatter
Version:
Html formatter
20 lines (11 loc) • 433 B
Markdown
# @starptech/prettyhtml-formatter
HTML formatter for [HAST](https://github.com/syntax-tree/hast)
## Installation
```
npm install --save @starptech/prettyhtml-formatter
```
## Api
###### `node.data.ignore`
When the data-property `ignore` is `true` the node is skipped for formatting.
## Caveats
The implementation is a derivated from [**rehype-format Version 2.3.0**](https://github.com/rehypejs/rehype-format) rehype-format.