2019-08-13 VF-1 handlers

Here’s my `.config/.vf1rc` file:

handler text/plain mdcat %s
handler text/html lynx -force_html %s

The first line says that all text gets rendered with mdcat which is like `cat` except it renders Markdown.

mdcat

The second line says that HTML gets rendered by `lynx`, our favoured text browser. It opens `lynx` and stays there so you can browser the site on the web. It doesn’t just *dump* the HTML to text like the default VF-1 setup does.

For a moment I was experimenting with showing things in a second window, or a second session of my terminal, but when I tried it, I realised that I didn’t want it.

​#Gopher

Comments

(Please contact me if you want to remove your comment.)

Another Markdown viewer but with word wrapping: glow.

glow

– Alex Schroeder 2019-12-23 07:28 UTC