Skip to main content

Convert Markdown to PDF - Docs Generator for Make

What this module does

PDF4me Convert Markdown to PDF transforms .md files and ZIP archives containing Markdown into professional PDF documents inside your Make scenario, preserving headers, lists, code blocks, and emphasis exactly as authored. Supply the file buffer from GitHub, GitLab, Dropbox, or any HTTP source and receive a PDF ready for email, storage, or downstream processing. Works with Google Drive, SharePoint, and any module that accepts a PDF buffer.

ZIP input requires the Markdown File Path field

When the input file is a .zip archive, you must fill the Markdown File Path field with the relative path to the .md file inside the archive, for example docs/README.md. For direct .md file inputs this field should be left empty. Omitting it on a ZIP input causes the module to fail.

GitHub-flavored formatting is preserved in the output PDF

Headings, ordered and unordered lists, bold and italic emphasis, inline code, fenced code blocks, tables, and blockquotes all render correctly. Images referenced by relative URL may not load if the path cannot be resolved at render time — use absolute URLs for embedded images to ensure they appear in the PDF.

Use an Iterator to batch-convert entire documentation sets

To convert a folder of .md files, use a Repeater or Iterator before this module. Each iteration passes one Markdown file and its filename. The resulting PDFs can be routed to cloud storage (Google Drive, Dropbox, SharePoint) or merged into a single documentation PDF in the same scenario.

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 powerful Markdown conversion services.

Convert Markdown to PDF Make

Key Features

  • Markdown Formatting: Preserves headers, lists, code blocks, and emphasis
  • ZIP Support: Extract and convert Markdown from ZIP archives
  • Syntax Highlighting: Render code blocks with proper formatting
  • Link Preservation: Maintain hyperlinks in PDF output
  • Image Embedding: Include images referenced in Markdown

Parameters

Complete list of parameters for the Convert Markdown to PDF module. Configure these parameters to control Markdown conversion.

Important: Parameters marked with an asterisk (***) are required and must be provided for the module to function correctly.

ParameterTypeDescriptionExample
File Name***StringMarkdown Filename
• Specify filename with .md extension
• Or .zip for ZIP archive containing Markdown
• Map from previous module output
• Used for output PDF naming
README.md
Document***BufferMarkdown File Content
• Map Markdown or ZIP file buffer
• Source from GitHub, GitLab, Dropbox, HTTP
• Binary .md or .zip file data
• Markdown content to convert
[MD Buffer]
Markdown File PathStringPath Within ZIP Archive
• Required only when input is ZIP file
• Relative path to .md file inside ZIP
• Example: "docs/README.md"
• Leave empty for direct .md files
docs/README.md

Output

The PDF4me Convert Markdown to PDF module returns comprehensive output data for seamless Make scenario integration:

Table View

Response data in a structured table format:

ParameterTypeDescription
NameStringOutput PDF filename based on Markdown source
Doc DataBufferConverted PDF document in Buffer format

Scenario Examples

The PDF4me Convert Markdown to PDF module in Make provides comprehensive scenario templates for Markdown conversion automation:

Automated README PDF for GitHub Releases Scenario

Transform your software releases with automated README PDF generation:

Complete Scenario Steps:

  1. Trigger: New release created in GitHub repository
  2. Get README: Download README.md from repository
  3. Convert to PDF: Transform README to professional PDF
  4. Add Version Info: Include release version and date
  5. Upload to Release: Attach PDF to GitHub release assets
  6. Update Release Notes: Add download link to release notes
  7. Tweet Release: Share release announcement with PDF link
  8. Archive Release: Store release docs in Google Drive

Business Benefits:

  • Generates 12+ release PDFs annually automatically
  • Provides professional PDF docs for non-technical users
  • Eliminates manual README PDF creation for releases
  • Improves project professionalism and accessibility

Industry Use Cases & Applications

  • 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

Get Help