make_docs
v1.1.1
Published
Convert all markdown files in a directory tree
Readme
make_docs
Convert all markdown files in a directory tree
Install
npm install -g make_docsUsage
make_docsThe command will:
- Find all
**/*.mdfiles. - Process each file using
markedmodule. - 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.
