https://github.com/fmalcher/md2multihtml
https://github.com/fmalcher/md2multihtml
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/fmalcher/md2multihtml
- Owner: fmalcher
- Created: 2016-12-05T22:22:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-25T16:37:58.000Z (over 9 years ago)
- Last Synced: 2025-09-21T00:59:20.406Z (10 months ago)
- Language: JavaScript
- Size: 2.62 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
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).