💅 The formatter for the modern web https://prettyhtml.netlify.com/
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:
For better vue compatibility it's allowed to use text elements (textarea
, script
, pre
) as void elements.
For better vuejs compatibility it's allowed to self-close none-void elements.
Don't add quotes when an attribute has no value
Fail with correct lexer or parser error
Use different branch name for a custom fork of property-information
due to yarn limitation.
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