HTML-to-markdown
This is a robust Golang tool to convert HTML, even entire websites, into clean Markdown. I find it particularly neat for LLM website use cases where structured content is critical.
This package from x/text/transform simplifies on-the-fly text transformations. I've often reimplemented this functionality, but it's more robust and easier to use directly from x.
Visit cs.opensource.google →