github-markdown
Version:
Parse GitHub flavored markdown to html.
61 lines (38 loc) • 1.27 kB
Markdown
# [node-github-markdown](https://npmjs.org/package/github-markdown)
[](https://travis-ci.org/1000ch/node-github-markdown)
[](http://badge.fury.io/js/github-markdown)
[](https://david-dm.org/1000ch/node-github-markdown)
[](https://david-dm.org/1000ch/node-github-markdown#info=devDependencies)
Parse GitHub flavored markdown to static html.
## Install
Install via npm.
```bash
$ npm install [--global] github-markdown
```
## Usage
Parse stdin.
```bash
$ cat readme.md | ghmd --stdin
```
Parse a markdown file.
```bash
# readme.html
$ ghmd readme.md
```
### `--dest`
Specify the destination.
```bash
# foo/readme.html
$ ghmd --dest foo readme.md
```
### `--template`
Specify custom template (defaults to standard template)
```bash
$ ghmd --template custom.jade markdown.md
```
### `--help`
Show help message.
### `--version`
Show package version.
## License
[MIT](https://1000ch.mit-license.org) © [Shogo Sensui](https://github.com/1000ch)