{"by":"JohannesKauf","descendants":47,"id":42093511,"kids":[42094064,42094474,42093845,42093964,42093645,42094012,42094626,42093769,42094642,42093644,42095426,42093672,42096373,42099299,42093778,42094740,42093920,42097246,42099181,42100041],"score":360,"text":"Hey HN!<p>I originally built “html-to-markdown” back in 2018 (while still in high school) to handle complex HTML conversions where other libraries struggled.<p>Now, I’ve released v2 — a complete rewrite designed to handle even more edge cases. It supports entire websites with a high accuracy.<p>Example use: I’ve used it in my RSS reader to strip HTML down to clean Markdown, similar to the &quot;Reader Mode&quot; in your Browser.<p>It can be used as a Golang package or as an CLI.<p>Give it a try &amp; tell me what edge cases you encounter!","time":1731145688,"title":"Show HN: HTML-to-Markdown – convert entire websites to Markdown with Golang/CLI","type":"story","url":"https://github.com/JohannesKaufmann/html-to-markdown"}