Give one markdown file and a template file. This will make a web page.
This will use the first line which starts with #
for the page title.
pagenerator -i source.md -t template.html -o output.html
When you give -R
option, this converts files recursively.
pagenerator -i ./source_dir -o ./out_dir -t ./template.html -R --breads tr/
When you give directory names with --breads
option (You can designate more than one.),
the breadcrumb list will be generated for HTML files under their directories.
pagenerator -i ./source_dir -o ./out_dir -t ./template.html -R --breads sub/
Be aware to put index.md
or index.mkd
under their directories to get the directory description for the breadcrumb list.