1
0
Fork 0
md2cli/README.md
2017-04-11 23:58:38 +02:00

31 lines
513 B
Markdown

# md2cli
md2cli is a simple markdown to html generator
## Compile
`./build.sh`
## Usage
```
./md2cli --help
Usage of ./md2cli:
-f string
markdown file to parse
-srv
start server and open new browser tab
```
## Examples
```
# read from stdin and display html with lynx
cat README.md | ./md2cli | lynx -stdin
# read from file and display html with lynx
./md2cli -f README.md | lynx -stdin
# read from file, start an http server and open site in new browser tab
./md2cli -f README.md -srv
```