Convert Markdown to PDF in Make
Convert Markdown to PDF is a Make module by PDF4me that transforms a .md file or a ZIP archive of Markdown into a polished PDF document inside your automation scenario. Use it to publish README files, technical docs, or wiki exports as PDFs. The module preserves headings, code blocks, tables, and emphasis in the output.
Authenticating Your API Request
To access the PDF4me Web API through Make, every request must include proper authentication credentials. Authentication ensures secure communication and validates your identity as an authorized user, enabling seamless integration between your Make scenarios and PDF4me's Markdown conversion services.
Important Facts You Should Not Miss
docs/README.md. Leave it empty for a direct .md file; omitting it on a ZIP input causes the module to fail.
Select your PDF4me connection, map File Name and Document from the prior download step, then set Markdown File Path only when Document is a ZIP archive.
What is Convert Markdown to PDF in Make?
Convert Markdown to PDF is Make's PDF4me module for rendering Markdown source into a PDF document programmatically. It accepts a .md file or a ZIP archive as a binary buffer and returns a formatted PDF. Unlike a one-off online converter, this module runs inside an automated scenario so every new README, doc update, or wiki export gets a PDF version without manual steps.
Parameters
| Parameter | Required | What it does | Example |
|---|---|---|---|
| Connection | Required | PDF4me connection holding your API key. Create one from the Make Connections panel using your key from dev.pdf4me.com/dashboard. | TestUser01 |
| File Name | Required | Markdown filename with a .md extension, or .zip for a ZIP archive containing Markdown. Map it from the prior module output. Drives the output PDF name. | README.md |
| Document | Required | Binary Markdown or ZIP file content as a Make buffer. Map from the Data field of a GitHub, GitLab, Dropbox, or HTTP download module. | 1. Data |
| Markdown File Path | Conditional | Relative path to the .md file inside a ZIP archive. Required only when Document is a ZIP; leave empty for a direct .md file. | docs/README.md |
Output
| Field | Type | What it contains |
|---|---|---|
| Name | String | Output PDF filename derived from the Markdown source filename. Use it in the destination upload module File Name field. |
| Doc Data | Buffer | Binary PDF content rendered from the Markdown source. Map directly into a cloud-storage upload module, an email attachment, or a merge step. |
How does Convert Markdown to PDF work in Make?
The module reads the Markdown buffer you map into it, renders headings, lists, tables, code blocks, and emphasis to a fixed layout, and streams the result back as a PDF on the Doc Data field. For a ZIP input it first extracts the file named in Markdown File Path, then renders that file only. Markdown itself follows the CommonMark specification, and GitHub's flavor extends it with tables and task lists as documented in GitHub's Markdown guide. For scenario-building patterns, see the Make help center.
Typical Setups
- Trigger on a new release created in a GitHub repository.
- Download README.md from the repository.
- Pass File Name and Document into Convert Markdown to PDF.
- Attach the returned PDF to the GitHub release assets.
- List every .md file in a docs folder with a GitLab or Dropbox List module.
- Iterate the list and download each file.
- Run Convert Markdown to PDF on each iteration.
- Upload each PDF to a documentation portal or shared drive.
- Export wiki pages as a ZIP of Markdown files from Confluence or GitLab wiki.
- Map the ZIP buffer to Document and set Markdown File Path to the page you want.
- Run Convert Markdown to PDF for each page path.
- Store the resulting PDFs in a Google Drive archive folder.
Practical Tips
Cheat Sheet
| Field | Value |
|---|---|
| Module | PDF4me > Convert Markdown to PDF |
| Connection | Your PDF4me connection (key from dev.pdf4me.com/dashboard) |
| File Name | README.md |
| Document | 1. Data (binary from prior download) |
| Markdown File Path | docs/README.md (ZIP input only) |
| Output | Doc Data (rendered PDF buffer) |
Frequently Asked Questions
Industry Use Cases & Applications
- Software Development
- Technical Documentation
- Content Publishing & Blogging
- Education & Research
- README Documentation: Convert README files to PDF for releases
- API Documentation: Generate PDF docs from Markdown
- Change Logs: Convert CHANGELOG.md to PDF format
- Contributing Guides: Create PDF guides from Markdown
- User Manuals: Convert Markdown manuals to PDF
- Installation Guides: Generate PDF from Markdown guides
- Tutorial Content: Transform tutorials to PDF format
- Knowledge Base: Convert KB articles to PDF
- Blog Posts: Export blog content to PDF format
- Article Archive: Convert articles to PDF archives
- Newsletter Content: Generate PDF from Markdown newsletters
- E-Books: Create PDF e-books from Markdown chapters
- Course Materials: Convert lesson Markdown to PDF
- Research Papers: Generate PDFs from Markdown drafts
- Study Guides: Transform study materials to PDF
- Assignment Sheets: Create PDF assignments from Markdown