Is there a way to embed one markdown (or its sub-flavors - I'm using PanDoc) document in another except for using a jQuery().load(url)?
I'd like to have a document that has eg. main.md, chapter1.md, chapter2.md, with main.md loading chapter1.md and chapter2.md automatically.
main.md will have text in between the two chapters e.g.
main.md:
Some opening text...
...
[chapter1.md]
Some additional text...
...
[chapter2.md]
...
something else.
So I can't use a cat *.md > final.md approach