G github.com Show HN: HTML-to-Markdown – convert entire websites to Markdown with Golang/CLI Hey HN!I originally built “html-to-markdown” back in 2018 (while still in high school) to handle complex HTML conversions where other libraries struggled.Now, I’ve released v2 — a complete rewrite designed to handle even more edge cases. It supports entire websites with a high accuracy.Example use: I’ve used it in my RSS reader to strip HTML down to clean Markdown, similar to the "Reader Mode" in your Browser.It can be used as a Golang package or as an CLI.Give it a try & tell me what edge cases you encounter! 360 points JohannesKauf 2 years ago 47 comments
I originally built “html-to-markdown” back in 2018 (while still in high school) to handle complex HTML conversions where other libraries struggled.
Now, I’ve released v2 — a complete rewrite designed to handle even more edge cases. It supports entire websites with a high accuracy.
Example use: I’ve used it in my RSS reader to strip HTML down to clean Markdown, similar to the "Reader Mode" in your Browser.
It can be used as a Golang package or as an CLI.
Give it a try & tell me what edge cases you encounter!