1
0
Fork 0

initial commit

This commit is contained in:
ston1th 2017-04-11 23:58:38 +02:00
commit 385da59cf0
21 changed files with 5737 additions and 0 deletions

31
README.md Normal file
View file

@ -0,0 +1,31 @@
# 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
```