review: tighten triggers, add license, polish README

This commit is contained in:
Jean-Luc Makiola
2026-05-04 20:16:24 +02:00
parent aef418506b
commit 608a8c932e
3 changed files with 9 additions and 9 deletions

View File

@@ -11,23 +11,22 @@ When you say things like *"exportier mal das PDF"*, *"regenerate the PDF"*, or *
In Claude Code, on each device:
```
/plugin marketplace add https://gitea.<your-domain>/jlmak/claude-md-to-pdf
/plugin marketplace add https://YOUR_GITEA_HOST/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.)
(Replace `YOUR_GITEA_HOST` with your Gitea hostname, e.g. `git.example.com`. 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
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:
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.
```
plugins/md-to-pdf/skills/md-to-pdf/default.config.js
```
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)