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 -s -i 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.2.tar.gz
(8.1 kB
view hashes)