JSPM

  • Created
  • Published
  • Downloads 1578
  • Score
    100M100P100Q133555F
  • License MIT

Html formatter

Package Exports

  • @starptech/prettyhtml-formatter
  • @starptech/prettyhtml-formatter/stringify

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@starptech/prettyhtml-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@starptech/prettyhtml-formatter

HTML formatter for 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 rehype-format.