1.3 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://gitea.<your-domain>/jlmak/claude-md-to-pdf
/plugin install md-to-pdf@claude-md-to-pdf
(Replace gitea.<your-domain> with your Gitea host. The repo can also be installed from a local clone — see "Local install" below.)
Requirements
- Node.js with
npxonPATH(the skill callsnpx --yes md-to-pdf).
How style is chosen
The skill walks upward from the source .md file looking for a .md-to-pdf.config.js. If found, it's used. Otherwise the bundled default — A4, 15/12mm margins, 5pt fixed-layout tables, system sans-serif at 11pt — is used. The bundled default lives at:
plugins/md-to-pdf/skills/md-to-pdf/default.config.js
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.