Re: State of the art for HTML-to-text rendering?
Conrad Hughes via "Discussion of nmh development, and help for new users" <[email protected]> Sat, 16 Nov 2024 16:53:50 +0000
| Newsgroups | gmane.mail.nmh.devel |
|---|---|
| Message-ID | <E1tCM32-000Iz3-09@rin> |
Thanks for the responses on this; I tried the w3m/lynx/elinks defaults and none solved my specific problem (which basically comes down to whether the browser looks at CSS I suspect), but at least lynx manages to reliably render to 80 columns on an 80-column terminal, so I've switched from w3m to that. Looks as if I might need something like brow.sh (which somehow renders Firefox output in a terminal window) in order to suppress the styled- out summary paragraph, but installing that looks like effort, and it may no longer be maintained. Paul's idea of invoking a GUI app for a with-images version of things is also a good one: it's rare enough that I currently just manually `mhstore` and invoke a browser on whatever that produces, but automating the process would be smart. Best, Conrad