home.social

#html2text — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #html2text, aggregated by home.social.

  1. #html2text (the Python tool, alir3z4.github.io/html2text, in Debian as python3-html2text which then provides a "html2markdown" binary) converts HTML into Markdown and (with the right CLI options) does a pretty good job, too.

    From there, you can use a good Markdown renderer like lowdown to get an awesome experience – _if_ your terminal supports OSC 8 hyperlinks.

    Like, look at this. It still has a few quirks, but for an HTML email in the terminal? It's fucking beautiful.

    But no OSC 8 in #NeoMutt. 😔

  2. #html2text (the Python tool, alir3z4.github.io/html2text, in Debian as python3-html2text which then provides a "html2markdown" binary) converts HTML into Markdown and (with the right CLI options) does a pretty good job, too.

    From there, you can use a good Markdown renderer like lowdown to get an awesome experience – _if_ your terminal supports OSC 8 hyperlinks.

    Like, look at this. It still has a few quirks, but for an HTML email in the terminal? It's fucking beautiful.

    But no OSC 8 in #NeoMutt. 😔

  3. #html2text (the Python tool, alir3z4.github.io/html2text, in Debian as python3-html2text which then provides a "html2markdown" binary) converts HTML into Markdown and (with the right CLI options) does a pretty good job, too.

    From there, you can use a good Markdown renderer like lowdown to get an awesome experience – _if_ your terminal supports OSC 8 hyperlinks.

    Like, look at this. It still has a few quirks, but for an HTML email in the terminal? It's fucking beautiful.

    But no OSC 8 in #NeoMutt. 😔

  4. #html2text (the Python tool, alir3z4.github.io/html2text, in Debian as python3-html2text which then provides a "html2markdown" binary) converts HTML into Markdown and (with the right CLI options) does a pretty good job, too.

    From there, you can use a good Markdown renderer like lowdown to get an awesome experience – _if_ your terminal supports OSC 8 hyperlinks.

    Like, look at this. It still has a few quirks, but for an HTML email in the terminal? It's fucking beautiful.

    But no OSC 8 in #NeoMutt. 😔

  5. #html2text (the Python tool, alir3z4.github.io/html2text, in Debian as python3-html2text which then provides a "html2markdown" binary) converts HTML into Markdown and (with the right CLI options) does a pretty good job, too.

    From there, you can use a good Markdown renderer like lowdown to get an awesome experience – _if_ your terminal supports OSC 8 hyperlinks.

    Like, look at this. It still has a few quirks, but for an HTML email in the terminal? It's fucking beautiful.

    But no OSC 8 in #NeoMutt. 😔

  6. #ELinks with `-dump-color-mode 2 -colors 1` has colors and numbered links

    #links2 with `-html-numbered-links 1` is monochrome, but has numbered links

    #Lynx too, but its output looks more messy to me.

    #w3m doesn't highlight links and doesn't output link URLs at all.

    #Pandoc can't handle table layouts, which unfortunately are still very common in commercial emails.

    #HTML2Text (the C++ tool, gitlab.com/grobian/html2text) does a decent job and supports bold & underline in `less` and NeoMutt's pager.

  7. #ELinks with `-dump-color-mode 2 -colors 1` has colors and numbered links

    #links2 with `-html-numbered-links 1` is monochrome, but has numbered links

    #Lynx too, but its output looks more messy to me.

    #w3m doesn't highlight links and doesn't output link URLs at all.

    #Pandoc can't handle table layouts, which unfortunately are still very common in commercial emails.

    #HTML2Text (the C++ tool, gitlab.com/grobian/html2text) does a decent job and supports bold & underline in `less` and NeoMutt's pager.

  8. #ELinks with `-dump-color-mode 2 -colors 1` has colors and numbered links

    #links2 with `-html-numbered-links 1` is monochrome, but has numbered links

    #Lynx too, but its output looks more messy to me.

    #w3m doesn't highlight links and doesn't output link URLs at all.

    #Pandoc can't handle table layouts, which unfortunately are still very common in commercial emails.

    #HTML2Text (the C++ tool, gitlab.com/grobian/html2text) does a decent job and supports bold & underline in `less` and NeoMutt's pager.

  9. #ELinks with `-dump-color-mode 2 -colors 1` has colors and numbered links

    #links2 with `-html-numbered-links 1` is monochrome, but has numbered links

    #Lynx too, but its output looks more messy to me.

    #w3m doesn't highlight links and doesn't output link URLs at all.

    #Pandoc can't handle table layouts, which unfortunately are still very common in commercial emails.

    #HTML2Text (the C++ tool, gitlab.com/grobian/html2text) does a decent job and supports bold & underline in `less` and NeoMutt's pager.

  10. #ELinks with `-dump-color-mode 2 -colors 1` has colors and numbered links

    #links2 with `-html-numbered-links 1` is monochrome, but has numbered links

    #Lynx too, but its output looks more messy to me.

    #w3m doesn't highlight links and doesn't output link URLs at all.

    #Pandoc can't handle table layouts, which unfortunately are still very common in commercial emails.

    #HTML2Text (the C++ tool, gitlab.com/grobian/html2text) does a decent job and supports bold & underline in `less` and NeoMutt's pager.

  11. Last week I deployed a change to how I generate plain text versions of content on my website. This week I changed it again. And updated additional post types to use Markdown as their editing and storage format.

    orangegnome.com/posts/3622/cha

    #Html #WebDevelopment #Indieweb #Markdown #BeautifulSoup #Changelog #Microformats #Mistune #Html2Text

  12. Last week I deployed a change to how I generate plain text versions of content on my website. This week I changed it again. And updated additional post types to use Markdown as their editing and storage format.

    orangegnome.com/posts/3622/cha

    #Html #WebDevelopment #Indieweb #Markdown #BeautifulSoup #Changelog #Microformats #Mistune #Html2Text

  13. Last week I deployed a change to how I generate plain text versions of content on my website. This week I changed it again. And updated additional post types to use Markdown as their editing and storage format.

    orangegnome.com/posts/3622/cha

    #Html #WebDevelopment #Indieweb #Markdown #BeautifulSoup #Changelog #Microformats #Mistune #Html2Text

  14. I've just published #html2text 0.11.0. Mainly a few bugfixes, but I've also had to bump the MSRV to 1.63 due to some dependencies. That's the version on Debian stable, so that seems like a reasonable point.

    crates.io/crates/html2text

    I have given up on running the tests in CI on the minimum supported rust version, though - it didn't seem worth adding workarounds to pin dependencies of dev-dependencies to old versions supporting 1.63.

  15. I've just published #html2text 0.11.0. Mainly a few bugfixes, but I've also had to bump the MSRV to 1.63 due to some dependencies. That's the version on Debian stable, so that seems like a reasonable point.

    crates.io/crates/html2text

    I have given up on running the tests in CI on the minimum supported rust version, though - it didn't seem worth adding workarounds to pin dependencies of dev-dependencies to old versions supporting 1.63.

  16. I've just published 0.11.0. Mainly a few bugfixes, but I've also had to bump the MSRV to 1.63 due to some dependencies. That's the version on Debian stable, so that seems like a reasonable point.

    crates.io/crates/html2text

    I have given up on running the tests in CI on the minimum supported rust version, though - it didn't seem worth adding workarounds to pin dependencies of dev-dependencies to old versions supporting 1.63.

  17. I've just published #html2text 0.11.0. Mainly a few bugfixes, but I've also had to bump the MSRV to 1.63 due to some dependencies. That's the version on Debian stable, so that seems like a reasonable point.

    crates.io/crates/html2text

    I have given up on running the tests in CI on the minimum supported rust version, though - it didn't seem worth adding workarounds to pin dependencies of dev-dependencies to old versions supporting 1.63.

  18. I've just published #html2text 0.11.0. Mainly a few bugfixes, but I've also had to bump the MSRV to 1.63 due to some dependencies. That's the version on Debian stable, so that seems like a reasonable point.

    crates.io/crates/html2text

    I have given up on running the tests in CI on the minimum supported rust version, though - it didn't seem worth adding workarounds to pin dependencies of dev-dependencies to old versions supporting 1.63.

  19. ...quickly followed by #html2text 0.10.1 to fix another bug.

  20. ...quickly followed by #html2text 0.10.1 to fix another bug.

  21. ...quickly followed by 0.10.1 to fix another bug.

  22. ...quickly followed by #html2text 0.10.1 to fix another bug.

  23. ...quickly followed by #html2text 0.10.1 to fix another bug.

  24. I just released #html2text 0.10.0 (my #RustLang crate to convert HTML into plain (or not) text suitable for display in a terminal.
    This release adds some more CSS support including background-color and inline style attributes, and fixes some annoying duplicated empty lines, mostly when there are nested and mostly empty tables.
    Things will slow down again for a bit now!

  25. I just released #html2text 0.10.0 (my #RustLang crate to convert HTML into plain (or not) text suitable for display in a terminal.
    This release adds some more CSS support including background-color and inline style attributes, and fixes some annoying duplicated empty lines, mostly when there are nested and mostly empty tables.
    Things will slow down again for a bit now!

  26. I just released 0.10.0 (my crate to convert HTML into plain (or not) text suitable for display in a terminal.
    This release adds some more CSS support including background-color and inline style attributes, and fixes some annoying duplicated empty lines, mostly when there are nested and mostly empty tables.
    Things will slow down again for a bit now!

  27. I just released #html2text 0.10.0 (my #RustLang crate to convert HTML into plain (or not) text suitable for display in a terminal.
    This release adds some more CSS support including background-color and inline style attributes, and fixes some annoying duplicated empty lines, mostly when there are nested and mostly empty tables.
    Things will slow down again for a bit now!

  28. I just released #html2text 0.10.0 (my #RustLang crate to convert HTML into plain (or not) text suitable for display in a terminal.
    This release adds some more CSS support including background-color and inline style attributes, and fixes some annoying duplicated empty lines, mostly when there are nested and mostly empty tables.
    Things will slow down again for a bit now!

  29. That's better. I've released #html2text 0.7.1, adding a bit of extra CSS support, notably:
    * recognise display: none
    * Config::add_css(), which allows adding new CSS rules to apply.

    My aoc-cli PR now uses `.add_css(".lavafall: { display: none }")` to work around the bad output.

  30. That's better. I've released #html2text 0.7.1, adding a bit of extra CSS support, notably:
    * recognise display: none
    * Config::add_css(), which allows adding new CSS rules to apply.

    My aoc-cli PR now uses `.add_css(".lavafall: { display: none }")` to work around the bad output.

  31. That's better. I've released 0.7.1, adding a bit of extra CSS support, notably:
    * recognise display: none
    * Config::add_css(), which allows adding new CSS rules to apply.

    My aoc-cli PR now uses `.add_css(".lavafall: { display: none }")` to work around the bad output.

  32. That's better. I've released #html2text 0.7.1, adding a bit of extra CSS support, notably:
    * recognise display: none
    * Config::add_css(), which allows adding new CSS rules to apply.

    My aoc-cli PR now uses `.add_css(".lavafall: { display: none }")` to work around the bad output.

  33. That's better. I've released #html2text 0.7.1, adding a bit of extra CSS support, notably:
    * recognise display: none
    * Config::add_css(), which allows adding new CSS rules to apply.

    My aoc-cli PR now uses `.add_css(".lavafall: { display: none }")` to work around the bad output.

  34. Well that's annoying. Having added CSS colours to #html2text just so that the #AdventOfCode calendar looks good, it's changed so that it doesn't look so good anymore...

  35. Well that's annoying. Having added CSS colours to #html2text just so that the #AdventOfCode calendar looks good, it's changed so that it doesn't look so good anymore...

  36. Well that's annoying. Having added CSS colours to just so that the calendar looks good, it's changed so that it doesn't look so good anymore...

  37. Well that's annoying. Having added CSS colours to #html2text just so that the #AdventOfCode calendar looks good, it's changed so that it doesn't look so good anymore...

  38. Well that's annoying. Having added CSS colours to #html2text just so that the #AdventOfCode calendar looks good, it's changed so that it doesn't look so good anymore...

  39. I've released #html2text 0.7.0, a #RustLang crate for converting HTML into text for the terminal.

    crates.io/crates/html2text

    The main new feature is some CSS support (behind a feature flag). It's minimal, but enough to handle the Advent of Code calendar. I expect to fill in more CSS cases in future (PRs or issues welcome), up to a point - definitely not aiming for a full browser styling engine here.

    github.com/jugglerchris/rust-h

  40. I've released #html2text 0.7.0, a #RustLang crate for converting HTML into text for the terminal.

    crates.io/crates/html2text

    The main new feature is some CSS support (behind a feature flag). It's minimal, but enough to handle the Advent of Code calendar. I expect to fill in more CSS cases in future (PRs or issues welcome), up to a point - definitely not aiming for a full browser styling engine here.

    github.com/jugglerchris/rust-h

  41. I've released 0.7.0, a crate for converting HTML into text for the terminal.

    crates.io/crates/html2text

    The main new feature is some CSS support (behind a feature flag). It's minimal, but enough to handle the Advent of Code calendar. I expect to fill in more CSS cases in future (PRs or issues welcome), up to a point - definitely not aiming for a full browser styling engine here.

    github.com/jugglerchris/rust-h

  42. I've released #html2text 0.7.0, a #RustLang crate for converting HTML into text for the terminal.

    crates.io/crates/html2text

    The main new feature is some CSS support (behind a feature flag). It's minimal, but enough to handle the Advent of Code calendar. I expect to fill in more CSS cases in future (PRs or issues welcome), up to a point - definitely not aiming for a full browser styling engine here.

    github.com/jugglerchris/rust-h

  43. I've released #html2text 0.7.0, a #RustLang crate for converting HTML into text for the terminal.

    crates.io/crates/html2text

    The main new feature is some CSS support (behind a feature flag). It's minimal, but enough to handle the Advent of Code calendar. I expect to fill in more CSS cases in future (PRs or issues welcome), up to a point - definitely not aiming for a full browser styling engine here.

    github.com/jugglerchris/rust-h