Files
claude-md-to-pdf/README.md
2026-05-04 20:34:12 +02:00

1.6 KiB

claude-md-to-pdf

A Claude Code plugin marketplace exposing the md-to-pdf skill — natural-language Markdown→PDF conversion using md-to-pdf.

What it does

When you say things like "exportier mal das PDF", "regenerate the PDF", or "convert this markdown to pdf", the skill picks up the relevant .md, finds the right style config, and runs npx md-to-pdf. No slash command required.

Install

In Claude Code, on each device:

/plugin marketplace add https://YOUR_GITEA_HOST/OWNER/claude-md-to-pdf.git
/plugin install md-to-pdf@claude-md-to-pdf

(Replace YOUR_GITEA_HOST and OWNER with your Gitea hostname and repo owner, e.g. git.example.com/jlmak. The trailing .git is required — Claude Code's marketplace loader expects a Git clone URL. The repo can also be installed from a local clone — see "Local install" below.)

Requirements

  • Node.js with npx on PATH (the skill calls npx --yes md-to-pdf).
  • On first invocation, md-to-pdf will download Chromium via Puppeteer (~150MB). Allow extra time and ensure outbound HTTPS to googleapis.com is permitted in restricted networks.

How style is chosen

To override the default style, drop a .md-to-pdf.config.js next to your Markdown file (or anywhere upward in the directory tree). Project-local config always wins.

If no override is found, the bundled default is used — A4, 15/12mm margins, 5pt fixed-layout tables, system sans-serif at 11pt.

Local install (no Gitea remote yet)

/plugin marketplace add ~/Development/claude-md-to-pdf
/plugin install md-to-pdf@claude-md-to-pdf

License

MIT — see LICENSE.