3 ms·
mktotext () { pandoc --standalone --from markdown --to html -o - $1 | /usr/bin/w3m -dump -T text/html | ${PAGER:-less} } Tune to preferred util
by dredmorbius 6y ago
mktotext ()
{
pandoc --standalone --from markdown --to html -o - $1 | /usr/bin/w3m -dump -T text/html | ${PAGER:-less}
}
Tune to preferred utilities. Invoking a console browser directly on the HTML rather than dumping ASCII is another option.