gem install mergedown
In main.md
:
# A Markdown Doc
:include "path/to/body.md"
In path/to/body.md
:
This is some body of text.
:include "path/to/more/doc/to/include.md"
See docs
folder for examples. This README was generated by mergedown
.
mergedown docs -o README.md
Run mergedown --help
for more options.