1
0
Fork 0
No description
  • Go 96.4%
  • Shell 3.6%
Find a file
2017-04-11 23:58:38 +02:00
Godeps initial commit 2017-04-11 23:58:38 +02:00
vendor/github.com initial commit 2017-04-11 23:58:38 +02:00
.gitignore initial commit 2017-04-11 23:58:38 +02:00
build.sh initial commit 2017-04-11 23:58:38 +02:00
LICENSE initial commit 2017-04-11 23:58:38 +02:00
main.go initial commit 2017-04-11 23:58:38 +02:00
README.md initial commit 2017-04-11 23:58:38 +02:00

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