πŸ’­ Alir3z4/html2text: Convert HTML to Markdown-formatted text. ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ !https://github.com/Alir3z4/html2text Date: May 1, 2024 Image: GitHub - Alir3z4/html2text: Convert HTML to Markdown-formatted text. β€” Convert HTML to Markdown-formatted text. Contribute to Alir3z4/html2text development by creating an account on GitHub. GitHub - Alir3z4/html2text: Convert HTML to Markdown-formatted text. Convert HTML to Markdown-formatted text. Contribute to Alir3z4/html2text development by creating an account on GitHub. GitHub Β· github.com Super neat tool to convert html to markdown ``` >>> import html2text >>> >>> print(html2text.html2text("

Zed's dead baby, Zed's dead.

")) **Zed's** dead baby, _Zed's_ dead. ``` It even plays nicely with rich. ``` from rich.markdown import Markdown from rich.console import Console import html2text console = Console() md = Markdown(html2text.html2text("

Zed's dead baby, Zed's dead.

")) console.print(md) ``` NOTE β”‚ This post is a thought . It’s a short note that I make about someone else’s content online #thoughts