postcss-html icon indicating copy to clipboard operation
postcss-html copied to clipboard

Description of Package is Unclear

Open shellscape opened this issue 5 years ago • 1 comments

Hey there. I was intrigued by this PostCSS syntax as I was looking for a well-organized HTML parser that could generate a good AST. Upon looking further into the project, I found that the only nodes that are placed into nodes are style tags (and style attributes from tags). The description and documentation doesn't mention that limitation. The README doesn't really do a very good job of explaining what the module is and how it should be used - it's quite vague.

For the sake of other users that might happen across your project, I'd like to request a better description of the project along with describing its limitations.

shellscape avatar Dec 27 '19 00:12 shellscape

We use htmlparser2 as parser, which may not be the best for AST, but it is the fastest.

gucong3000 avatar Dec 30 '19 12:12 gucong3000