Go to example tasks

Markdown to PDF with Table of Contents

Turn Markdown into a print-ready PDF with an automatic table of contents, a running header and "Page X of Y" footers. Paste your Markdown, run the task and download the PDF from the dataset. No browser, no JavaScript, pay only per rendered page.

Try for free
Markdown & HTML to PDF — TOC, Headers, Page Numbers
Markdown & HTML to PDF — TOC, Headers, Page Numberstiger19935/paged-pdf-generator
File
Title
Pages
Status
+1 field
Text
Number
Boolean
List
Object

Input

Documents(required)
title:Product Handbook
filename:product-handbook.pdf
markdown:# Product Handbook ## Getting started Install the app and sign in. ## Features ### Reports Export any report as PDF. ### Alerts Get notified by email. ## Support Contact support at any time.
Template:report
Table of contents:{3 fields}
Header text:Product Handbook
Footer text:Page {page} of {pages}

Output fields

File
Title
Pages
Status
PDF link

How it works

Sign up on Apify or log in

The Markdown & HTML to PDF — TOC, Headers, Page Numbers Actor is ready to run with the inputs already set for "Markdown to PDF with Table of Contents". Sign up or log in and you'll land in Apify Console with a copy of this exact task.

Start the "Markdown to PDF with Table of Contents" task

The Markdown & HTML to PDF — TOC, Headers, Page Numbers Actor will start running based on the input automatically. You can also change all the input fields, like documents, template, and more, to match your specific use case.

Receive the "Markdown to PDF with Table of Contents" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as file, title, pages, and more.

Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also run the "Markdown to PDF with Table of Contents" task via API.

Image

Integrate "Markdown to PDF with Table of Contents" into your workflow

Connect "Markdown to PDF with Table of Contents" with 100+ integrations, or run it via API or MCP.

Webhook

Webhook

n8n

n8n

Make

Make

Zapier

Zapier

Airbyte

Airbyte

Keboola

Keboola

IFTTT

IFTTT

Hubspot

Hubspot

GDrive

GDrive

Gmail

Gmail

Apify MCP

Apify MCP

GitHub

GitHub

Slack

Slack

LangChain

LangChain

LlamaIndex

LlamaIndex

Flowise

Flowise

Pinecone

Pinecone

OpenAI

OpenAI

Mastra

Mastra

Clay

Clay