Exporting multiple markdown docs to PDF

Dan's Avatar


08 Mar, 2016 04:25 PM

I have a document that has several links to other markdown files. When I export the main document, I would like the links to the other markdown files (*.md) also converted to pdf automatically and the links in the main PDF document reference the converted PDF images of the subdocuments.

Is this possible?

  1. Support Staff 1 Posted by Brett on 08 Mar, 2016 05:57 PM

    Brett's Avatar

    This scenario is not currently possible because Marked 2 concatenates
    all of the files prior to processing, thus it has no reference for
    relative urls rooted in folders other than where the main document is.
    I'm considering having it scan for and replace relative paths prior to
    importing the included files, but not currently.


  2. Support Staff 2 Posted by Brett on 08 Mar, 2016 05:59 PM

    Brett's Avatar

    Sorry, this reply was to another question. Your scenario would require a custom processor script, and you'd have to handle the pdf generation manually using pandoc or wkpdf. It's not something Marked is equipped for by default.

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac