No description
- Go 96.4%
- Shell 3.6%
| Godeps | ||
| vendor/github.com | ||
| .gitignore | ||
| build.sh | ||
| LICENSE | ||
| main.go | ||
| README.md | ||
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