💅 The formatter for the modern web https://prettyhtml.netlify.com/
MIT License
Bot releases are visible (Hide)
Fix https://github.com/Prettyhtml/prettyhtml/issues/90 handle template
tags as collapsible elements in whitespace minifying.
:ns:name
is used.Fix https://github.com/Prettyhtml/prettyhtml/issues/74
prettyhtml-formatter
packagehttps://github.com/Prettyhtml/prettyhtml/pull/73 Handle <image>
as void element.
https://github.com/Prettyhtml/prettyhtml/issues/45 Add a new option wrapAttributes
when true
it will wrap all attributes when the element has more than one attribute.
https://github.com/Prettyhtml/prettyhtml/issues/60 Conditional comment detection
Add https://github.com/Prettyhtml/prettyhtml/issues/43
Regarding whitespace handling there are two additional rules:
Fix https://github.com/Prettyhtml/prettyhtml/issues/42 with a custom branch until maintainer is available to merge https://github.com/wooorm/property-information/pull/13.
prettyhtml()
returns a vfile
prettyhtml()
can throw and returns an error from typevfile-message
prettyhtml-quick
Fix https://github.com/Prettyhtml/prettyhtml/issues/46 Don't insert required parents