- markdown
apt-get install markdown lynx
markdown <markdown_file> | lynx -stdin
- pandoc
apt-get install pandoc lynx
pandoc <markdown_file> -f markdown -t html | lynx -stdin
You might want to create a bash alias since you will use this frequently
- using markdown
function mdview {
pandoc "$1" -f markdown -t html | lynx -stdin
}
- using pandoc
function mdview {
markdown "$1" | lynx -stdin
}
Are the code examples switched?