# Markdown Printer Premium

> Convert Markdown to professional A4 PDFs with corporate layouts, covers, TOCs, and syntax highlighting.

Markdown Printer Premium is a paid AI agent skill on Agensi by Dec. Breeze, in Technical Documentation. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $1 (one-time purchase)
- Creator: [Dec. Breeze](https://www.agensi.io/creators/dec-breeze)
- Category: [Technical Documentation](https://www.agensi.io/skills/technical-documentation)
- Version: 1.1
- Last updated: 2026-11-20
- Security: scan passed (2026-11-19); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/markdown-printer-premium
- Tags: documentation, writing, productivity, python, pdf-generation, markdown, weasyprint

## About this skill

Markdown is great for writing, but a raw .md file is not something you hand to a client or a manager. This skill turns Markdown into a print-ready A4 PDF with a cover page, a table of contents with real page numbers, running headers and footers, typeset math, and a consistent corporate layout.

### What it does
- **Layouts and templates**: Report, proposal, manual, and technical-document layouts, plus a company template for headers, footers, cover color, logo, and watermark. Seven cover colors.
- **Table of contents with page numbers**: Every entry shows the page its section actually starts on.
- **Print-quality typesetting**: Long tables split across pages and repeat their header row, code blocks are syntax-highlighted, and each page shows "Page X of Y" with the current chapter in the header.
- **LaTeX math**: `$...$` inline and `$$...$$` display formulas are typeset as crisp vector graphics, with no LaTeX installation. Prices like $5 stay plain text, and code is never touched.
- **Professional details**: Cover with logo, version, date, document ID, and classification; watermarks such as DRAFT; GitHub-style callouts ([!NOTE], [!TIP], [!WARNING] and more).
- **English and CJK documents**: Cover labels, TOC title, and footers follow the document's language (English or Chinese). Chinese, Japanese, and Korean text is set in one consistent typeface chosen from the fonts already on the computer.

### How it works
1. **Environment check**: The agent runs `--check`, which installs the Python packages in an isolated uv environment and picks a typesetting engine.
2. **Input**: Give it a .md file, several files, or a whole folder. Pasted Markdown is saved to a file first.
3. **Conversion**: The agent runs the converter with the layout, color, and cover details you ask for. Front matter in the file (title, author, version, classification) is respected.
4. **Delivery**: The PDF is written next to your file or to the folder you choose.

### Frameworks & tools
Python 3.9+ with Python-Markdown, Pygments for code highlighting, ziamath for math, and pypdf. Dependencies are installed by uv into their own environment, not into your system Python. Typesetting uses the Microsoft Edge or Google Chrome already on your computer (Windows always has Edge, so nothing extra is needed), or WeasyPrint with the system Pango library when no browser is available, as in Linux sandboxes. Both engines produce the same layout. The skill contains only text files: no binaries and no bundled fonts.

### Why this beats prompting it yourself
An agent can write HTML, but getting page-accurate TOC numbers, repeating table headers, chapter names in running headers, typeset formulas, and a cover without headers or footers requires a paged layout engine and several passes. This skill packages that pipeline and the layout rules, so every document comes out the same way.

### Use cases
- Turn internal handbooks and runbooks into PDFs marked "Internal" with a DRAFT watermark.
- Convert a project README into a client-facing proposal, with the classification label removed for outside readers.
- Export technical notes, course material, or reports that contain formulas, without a LaTeX setup.
- Batch-convert a folder of Markdown notes into consistently formatted documents.
- Format AI-drafted reports into polished PDFs without opening Word.

## Requires

- Python 3.9+
- uv (Python tool runner)
- Microsoft Edge or Google Chrome (or Pango)

Launches the local Microsoft Edge or Google Chrome in headless mode only to print the PDF. Downloads remote images only when the Markdown references them.

## Known limitations

- Math covers common LaTeX (fractions, roots, sums, integrals, matrices, Greek letters); custom macros and LaTeX packages are not supported.
- On computers without Edge or Chrome, the system Pango library is required (apt or brew). On Linux, Chinese, Japanese, and Korean need a CJK font such as fonts-noto-cjk.
- The browser engine prints a document a few times to settle the TOC page numbers, so allow about 15 seconds per file.
- Remote images are downloaded during conversion and add time.

## How to use this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Markdown Printer Premium skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Markdown Printer Premium do?

Convert Markdown to professional A4 PDFs with corporate layouts, covers, TOCs, and syntax highlighting.

### Which AI agents support Markdown Printer Premium?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use Markdown Printer Premium?

Connect your AI agent to Agensi through MCP, then ask it to use Markdown Printer Premium on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
