About this endpoint
What it does
Converts a Markdown file available at a URL into a PDF and returns the rendered document as a downloadable file.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| output | String | No | Output filename base. Default: sample-output. |
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| url | String | Yes | URL pointing to a Markdown file. The remote resource must respond with a Content-Type of text/markdown or text/plain and must not exceed 5 MB. |
Response
Returns a downloadable PDF file as a binary response. The output is a binary file rendered from the Markdown input.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| binary | String | Yes | Downloadable PDF file rendered from the Markdown input. |