Automation
Turn Markdown into images with Zapier
Use Webhooks by Zapier to render Markdown as PNG, JPG, or PDF from any Zap. Any trigger app works — the rendering is a single POST step.
Why
What people build with it
Post a rendered card to Slack or Discord whenever a new item lands in Airtable, Notion, or a form.
Convert a Markdown newsletter draft into a PDF and email it to reviewers automatically.
Render AI-written Markdown into an image before it reaches a social scheduling app.
Setup
Connecting Zapier
- 01
Create an API token under Profile → API tokens. It starts with mti_ and is shown only once.
- 02
Add an action step and choose Webhooks by Zapier → Custom Request.
- 03
Set the method to POST and the URL to the generate endpoint. Under Headers add Authorization with the value Bearer followed by your token, and Content-Type set to application/json.
POST https://markdowntoimage.com/api/v1/images/generate
- 04
Put this in the Data field. Replace the placeholder with the field from your trigger that holds Markdown.
{ "markdown": "{{content}}", "format": "png", "width": 800 } - 05
Zapier parses the JSON response automatically, so data imageUrl is selectable in any later step.
Every parameter — themes, fonts, code styles, page size for PDF — is listed in the API reference.