ghmarkdown is the complete command-line tool for GitHub-flavored markdown
Project description
The complete command-line tool for GitHub-flavored markdown. It provides a convenient interface for the API provided by GitHub.
ghmarkdown’s –serve feature let’s you locally view your markdown live, so you can view your changes as you work!
Features
Installation
$ pip install ghmarkdown
Usage
Run your markdown on a local server:
# these do the same thing
$ ghmarkdown -si my_file.md
$ ghmarkdown --serve --input my_file.md
$ cat my_file.md | ghmarkdown --serve
Parse your markdown to HTML locally:
# these do the same thing
$ ghmarkdown -i my_file.md -o my_page.html
$ ghmarkdown --input my_file.md --output my_page.html
$ cat my_file.md | ghmarkdown > my_page.html
Write markdown directly into stdin, and serve it:
$ ghmarkdown --serve
# Hello there, _user_!
```python
def foo(bar):
raise ZeroDivisionError()
```
<Ctrl-d>
Hosting server on port 8000
Use ghmarkdown --help to see all available commands and parameters
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
ghmarkdown-0.1.4.tar.gz
(8.1 kB
view hashes)
Built Distribution
ghmarkdown-0.1.4-py2-none-any.whl
(10.2 kB
view hashes)
Close
Hashes for ghmarkdown-0.1.4-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a020de4e65d17e2e9ee49555ed0f75b3127660849ac60d449b051cab466a54d |
|
MD5 | eef1cc12719e825d572b7078716c2998 |
|
BLAKE2b-256 | 7be102b639f3d577ef4e9a7d952db5234e19fee6a9cfff77901cb94d3dde5881 |