I much prefer Asciidoctor to Markdown when writing documents that's longer than a single A4 page, since it has the ability to combine multiple files into a single document if needed.
pandoc file1.md file2.md .... -o final.md
or pandoc file1.md file2.md .... -o final.pdf
[1] https://pandoc.org/