Last active
February 22, 2021 15:39
-
-
Save philipsd6/e267c18b5565efc13f08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [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