Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIDeepSeekDeepSeekMuseMuse+22 more

    md2pdf

    1

    Convert a Markdown file into a Chinese PDF

    Free

    1 useSecurity scanned

    About this skill

    Skill name md2pdf — Chinese A4 PDF Typesetter Short description(列表页标题下面那一行,约 150 字符) Turn Markdown into a print-ready A4 PDF with correct Chinese typography: justified CJK text, zebra tables that never split a word, repeating headers, and real page numbers. Full description(详情页正文) Most Markdown-to-PDF tools produce a browser dump. This one produces something you can hand to a teacher, a reviewer or an interviewer.

    It is tuned for Chinese-language documents — the kind full of wide tables, blockquotes and code blocks — where default CSS quietly falls apart.

    What you get:

    • A4 page geometry with proper Chinese margins (17/16/20mm) and justified ideographic text
    • Serif body / sans-serif headings, zebra-striped tables, thead repeated on every page
    • A real footer: "第 N 页 / 共 M 页", plus an optional custom note
    • Long code blocks that flow across pages instead of leaving half-empty ones behind
    • YAML frontmatter stripped automatically (it would otherwise print as garbage on page 1)

    Works offline. No API keys, no server, no external font files — it drives the Edge/Chrome already installed on your machine, then stamps page numbers with reportlab.

    Two things it is unusually good at, because both cost real debugging time:

    1. Tables. English words stay whole, a short link in the last column doesn't collapse to a one-character column, and wide 5+ column CJK tables get a documented fix instead of a guess.
    2. Page count. A built-in "dense layout" recipe (measured: 1,523 lines from 44 → 30 pages) plus a blank-page diagnosis step (2,042 lines, 19 code blocks: 41 → 29 pages, nothing deleted).

    Includes a pre-delivery checklist that renders page 1 to PNG — layout bugs are only visible in the image, never in the exit code.

    Requirements: Python 3.9+, pip install markdown pypdf reportlab, and Chrome or Edge. Run: python md2pdf.py report.md Tags(逗号分隔,挑 5–8 个) markdown, pdf, pdf export, chinese, cjk, typesetting, print, report, docx alternative, publishing Category Writing & Content → (次选) Workflow Automation Pricing Free

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse All Claude Skills.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    1 use

    Times used to date

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 26 days ago

    • Free with an Agensi account

    Software
    Python

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Environment Variables
    Listed26 days ago

    What's inside

    Frequently Asked Questions

    Convert a Markdown file into a Chinese PDF

    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.

    Connect your AI agent to Agensi through MCP, then ask it to use md2pdf 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.

    Free