Skip to content

Instantly share code, notes, and snippets.

@tjstebbing
Last active June 20, 2016 03:28
Show Gist options
  • Save tjstebbing/10016d080540e83c64417d04fc00c9d3 to your computer and use it in GitHub Desktop.
Save tjstebbing/10016d080540e83c64417d04fc00c9d3 to your computer and use it in GitHub Desktop.
cd ~/code
git clone [email protected]:axiros/terminal_markdown_viewer.git
cd terminal_markdown_viewer
pip install markdown pygments pyyaml

Then add the following to your .bashrc/.zshrc

mdless () { /Users/yourname/code/terminal_markdown_viewer/mdv.py  -t 994.0134 -T 627.2501 "$@" | less; }

Now you can happily:

mdless README.md

to your heart's content :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment