initial commit
This commit is contained in:
commit
385da59cf0
21 changed files with 5737 additions and 0 deletions
31
README.md
Normal file
31
README.md
Normal 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
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue