Skip to content

Instantly share code, notes, and snippets.

@philipsd6
Last active February 22, 2021 15:39
Show Gist options
  • Save philipsd6/e267c18b5565efc13f08 to your computer and use it in GitHub Desktop.
Save philipsd6/e267c18b5565efc13f08 to your computer and use it in GitHub Desktop.
# [Previewing Markdown Files from the Terminal][1]
# [1]: http://blog.metamatt.com/blog/2013/01/09/previewing-markdown-files-from-the-terminal/
mdless () {
pandoc -s -f markdown -t man $1 | groff -T utf8 -man| grep -v '()$' | less
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment