An open API service indexing awesome lists of open source software.

https://github.com/fmalcher/md2multihtml


https://github.com/fmalcher/md2multihtml

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# md2multihtml

This tool converts a single big markdown document to seperate HTML files.
The document is split by first-level sections.
The program creates a navigation bar, displays the document structure as tree graph and takes care of inline links across the document sections.

See a detailed description in [description.md](description.md).

## Installation

This tool needs Node.js as runtime environment.
After having installed Node.js please run the local package installation inside the project folder:

```
npm install
```

## Usage

This will generate HTML files in the specified output folder (defaults to `html/`).
The output folder will be deleted (!) before.

```
./md2multihtml.js -d -i
```

### Arguments
* `-i `: process the markdown file ``
* `-o `: set the output directory to ``
* `--delete-outdir=true` or `-d`: delete **(!)** and recreate the whole output dir before processing. **BE CAREFUL WHEN USING THIS!**

## License
Code released under the [MIT license](https://opensource.org/licenses/MIT).