What it does
Markdown to PDF converts Markdown content into a downloadable PDF or a signed S3 URL. Send raw Markdown, a file upload, or a URL that points to a Markdown document, and you get the rendered PDF back in the format you choose.
Use the raw Markdown endpoints when your application already has the content in memory. The request body is the Markdown text itself, and the response is either a binary PDF download or a JSON object containing a data field with a signed S3 URL valid for 5 minutes. Use the file and URL endpoints when you want to convert an existing .md file or a remote Markdown resource instead.
The input limits are explicit: raw Markdown accepts up to 5 MB, URL-based conversion requires a remote resource served as text/markdown or text/plain and capped at 5 MB, and file uploads must be text/markdown, text/plain, or a .md file up to 3 MB. That makes Markdown to PDF a good fit for generating reports, documentation exports, or customer-facing handouts from content your system already stores as Markdown.
Choose the download response when you want to stream the PDF directly to a user, or the signed URL response when a downstream service needs to fetch the generated file later.