Simple markdown viewer inspired by restview.
Features:
- Support for different markdown flavors (such as markdown-extra).
- Auto-reload in browser when previewed file is modified.
- Syntax highlighting using Pygments.
To install mdview, use pip:
$ pip install mdview Or install directly from Git:
$ pip install git+https://github.com/guyru/mdview.git#egg=mdview usage: mdview [-h] [-x EXTENSIONS] [--version] [--debug] filename Simple markdown viewer. positional arguments: filename optional arguments: -h, --help show this help message and exit -x EXTENSIONS, --extensions EXTENSIONS markdown extensions separated by commas. Default: extra,codehilite --version show program's version number and exit --debug run server in debug mode List of supported flavors is available in python-markdown's documentation. By default the extra and codehilite extensions are turned on.
$ mdview --extensions "" path/to/file.md It happens when you close the browser and mdview still tries to send to it information. You can safely ignore this.
- Author: Guy Rutenberg