gformat-html-formatter

Html formatter

Usage no npm install needed!

<script type="module">
  import gformatHtmlFormatter from 'https://cdn.skypack.dev/gformat-html-formatter';
</script>

README

gformat-html-formatter

HTML formatter for HAST

Installation

npm install --save gformat-html-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 rehype-format.