by rpastuszak · 3y ago · 0 comments
markdown () {
pandoc $1 | lynx -stdin
}
usage: $ markdown README.md
I don't often use pandoc or lynx so might check out glow instead, but I thought some of you might find this approach simpler in case you already have these tools installed.Your approach is more sensible, I had fun playing with the lua script though. Pandoc will spit out a reference script that formats the output as html so it it pretty easy to work off of