Markdown viewer
Project description
mdview
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.
Installation
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
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
FAQ
Where can I find a list of supported markdown extensions?
List of supported flavors is available in
python-markdown's
documentation. By default the extra and codehilite extensions are turned on.
How can I run mdview without any extension?
$ mdview --extensions "" path/to/file.md
What are those error: [Errno 32] Broken pipe errors I see on stderr?
It happens when you close the browser and mdview still tries to send to it
information. You can safely ignore this.
Authors
- Author: Guy Rutenberg
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mdview-0.1.0.tar.gz.
File metadata
- Download URL: mdview-0.1.0.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba4e4a48ecffcfbfc7ddaeac183349cf4f1552155e361837cefc57eaa21774ea
|
|
| MD5 |
92616280b2229ddcea0e905b57689b19
|
|
| BLAKE2b-256 |
19d71ce49a3fc425874684f998682c810319a0ff11351c9fcbdb72891a59e882
|
File details
Details for the file mdview-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mdview-0.1.0-py3-none-any.whl
- Upload date:
- Size: 17.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2991f6ba7528e5c424c19b250f055da6f672f6b3774a3bc4e4a235f1bdc6c3e1
|
|
| MD5 |
ef4c20503469fda07f3e17b8453f8318
|
|
| BLAKE2b-256 |
f3f0fc65e752a486221d019e43fb5247bcca3f51fd1fe16101a4decb4f40489b
|