Minimal Markdown previewer that renders via GitHub's Markdown API and serves a local HTML file.
Download the executable mdview bash script to any directory
that is already in your PATH.
# This downloads the latest release version
wget https://get.dannyb.co/mdview
sudo install mdview /usr/local/binmdview README.md- Set
GITHUB_ACCESS_TOKENif you want to avoid API rate limits. - A standard GitHub personal access token is fine; no special scopes are needed for public Markdown.
- Uses Python's built-in
http.serverby default. - Server reference list (if you want to swap it): https://gist.github.com/willurd/5720255