Markdown to PDF
Summary
This Markdown to PDF conversion MCP server, developed by 2b3pro, provides a robust solution for generating PDF documents from Markdown content. Built with TypeScript and leveraging Puppeteer for modern PDF generation, it offers features like syntax highlighting, custom CSS styling, and optional watermarking. The server implements file naming conflict resolution, configurable paper formats, and uses Chrome v131.0.6778.204 for consistent rendering across installations. By abstracting the complexities of PDF creation, it enables AI systems to easily produce formatted documents from Markdown input. This implementation is particularly valuable for applications requiring programmatic document generation, facilitating use cases such as report creation, documentation publishing, and content distribution in PDF format.
Available Actions(1)
create_pdf_from_markdown
Converts Markdown content to a PDF file. Parameters: markdown (string, required), outputFilename (string, optional), paperFormat (string, optional), paperOrientation (string, optional), paperBorder (string, optional), watermark (string, optional)
社区评论
暂无评论. 成为第一个评论的人!
登录以参与讨论