Created
March 29, 2017 21:18
-
-
Save MaxPleaner/784135271093c26d9d20533cafd5e0bd to your computer and use it in GitHub Desktop.
read formatted markdown file from CLI
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
# this is a fish function | |
# if using fish, add this to a new file at ~/.config/fish/functions/read-md.fish | |
# otherwise, use line 2 only and replace $argv with a markdown file path. | |
function read-md | |
pandoc $argv | lynx -stdin | |
end | |
# source: | |
# http://unix.stackexchange.com/a/120519/65890 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment