Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pretty config option #175

Open
luwes opened this issue Jan 20, 2024 · 0 comments
Open

Pretty config option #175

luwes opened this issue Jan 20, 2024 · 0 comments

Comments

@luwes
Copy link

luwes commented Jan 20, 2024

Thanks for this amazing fast lib!

I'm looking for a Rust HTML formatter and so far I've been unsuccessful in finding one.
Would it be a hard work to implement a pretty config or mode to output HTML with nice indentation?
Sometimes this is added to minifiers, I remember UglifyJS had this option.

Or would it make more sense in another library?

I hoped Biome had this implemented but seems like it doesn't support plain HTML even though prettier does.
biomejs/biome#718

Also handling templating expressions might be tricky which minify-html seem to have covered!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant