JSPM

  • Created
  • Published
  • Downloads 1578
  • Score
    100M100P100Q133554F
  • 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

The implementation is a derivated from rehype-format (Version 2.3.0) with the goal to apply custom rules on custom web elements and more.


npm install --save @starptech/prettyhtml-formatter

Modifications

  • Use @starptech/prettyhtml-rehype-parse