Programmatic generation of a PDF from Markdown on the Mac, - try Pandoc.
Drafts can also run AppleScript to control other applications, so maybe send an e-mail via the Apple Mail app, with a file attachment using AppleScript; the attachment being the PDF generated via Pandoc.