In that case, Pandoc, combined with Markdown, seems to be already capable of doing what I propose, although the structure needs to be put into the make-file instead of in normal folders. It's more flexible, but also somewhat harder to use.
I didn't know that Pandoc can use a make-file, but then again, I haven't researched it very extensively.
|