1.1.1 • Published 9 years ago
make_docs v1.1.1
make_docs
Convert all markdown files in a directory tree
Install
npm install -g make_docs
Usage
make_docs
The command will:
1. Find all **/*.md
files.
2. Process each file using marked
module.
3. Save result to $file.md.html
.
Features
- Html files are placed in the same directory where the original md file is located. This allows making links from md files to other files without hassle.
- Links to markdown files are converted to the links to html files. test link.
- Generates Table of Contents (local).
Internals and customization
The program code is in make_docs.js.
The output template is in template.html. Replaced tokens are: $body$
, $toc$
, $year$
.
Help
Please use Github for posting issues and questions.
License
(c) 2015 Pavel Vasev (MIT license)
See LICENSE for more info.