2 releases
0.1.1 | May 21, 2024 |
---|---|
0.1.0 | Apr 18, 2021 |
#2199 in Parser implementations
131 downloads per month
4KB
prettyish-html
A "meh, good enough" HTML prettifier. The output can definitely be improved, but it's fast and lightweight. It might become better in the future, just depends.
It assumes some level of well-formedness of the HTML, though it doesn't do any form of validation either.
Usage
println!("{}", prettyish_html::prettify("<html><body>...</body></html>"));
Dependencies
~2.2–3MB
~55K SLoC