Updated readme, added dependencies

This commit is contained in:
Dmitriy Shishkov 2021-04-10 11:27:21 +05:00
parent 73aa9bf2aa
commit c6107ca968
No known key found for this signature in database
GPG Key ID: 7CAE12ED13853CAC

View File

@ -2,9 +2,15 @@
This tool helps to download all images in markdown document and put them into one folder with changed paths This tool helps to download all images in markdown document and put them into one folder with changed paths
## Dependency installation:
```bash
luarocks install luasec
```
## Usage: ## Usage:
``` ```bash
md-parser [-o <output>] [-s <server>] [-c <config>] [-u] [-h] md-parser [-o <output>] [-s <server>] [-c <config>] [-u] [-h]
<input> <input>
@ -31,4 +37,4 @@ It also has integrated functional to upload this article over ssh. As for MIT li
``` ```
lua src/main.lua spec/assets/tmp_dir/some\ file.md -u -s dm1sh@localhost -o /tmp/art lua src/main.lua spec/assets/tmp_dir/some\ file.md -u -s dm1sh@localhost -o /tmp/art
``` ```