I am maintaining a set of documents in markdown which have links to other markdown documents and to webpages, and embedded images. I am looking for a tool which can convert these documents into a single pdf, while preserving all of those aspects of it (with links between documents pointing at the beginning of the corresponding document within the pdf).
The closest question, found here, does not have any answers which meet my requirements. Pandoc does not handle links within the document well, and follows relative links relative to my working directory, not where the markdown file in question is. The answer suggesting Typora only handles links within one document, which are not relevant to my use-case.
Are there any tools which enable me to do this?