Help us improve
Share bugs, ideas, or general feedback.
From markdown-to-pdf
Use when converting one or more Markdown files into PDFs. Triggers on "convert to PDF", "make PDF", "export PDF", "markdown to PDF". Generic conversion via WeasyPrint with a neutral default stylesheet; pass `--css` to apply your own branded styling.
npx claudepluginhub netresearch/claude-code-marketplace --plugin markdown-to-pdfHow this skill is triggered — by the user, by Claude, or both
Slash command
/markdown-to-pdf:markdown-to-pdfThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Convert one or more Markdown files into styled PDFs using [WeasyPrint](https://weasyprint.org/) and the Python `markdown` library. The default styling is intentionally neutral — apply your own brand stylesheet via `--css`.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Breaks plans, specs, or PRDs into thin vertical-slice issues on the project issue tracker using tracer bullets. Useful for converting high-level work into grabbable implementation tickets.
Share bugs, ideas, or general feedback.
Convert one or more Markdown files into styled PDFs using WeasyPrint and the Python markdown library. The default styling is intentionally neutral — apply your own brand stylesheet via --css.
Run the conversion script via uv run:
uv run --with markdown --with weasyprint python3 "${SKILL_DIR}/scripts/convert.py" <files...> [-o output_dir] [--css custom.css]
${SKILL_DIR} is the directory containing this SKILL.md. The script resolves assets/style.css relative to its own location, so it works regardless of install path.
Identify target .md files from the user's request. If none specified, look for .md files in the current directory and ask which to convert.
Run the conversion:
uv run --with markdown --with weasyprint python3 <skill-dir>/scripts/convert.py file1.md file2.md
-o <dir> to place PDFs in a specific output directory.--css <path> to override the default neutral stylesheet (e.g., a brand stylesheet from netresearch-branding-skill/assets/markdown-pdf.css).*.md are supported.Report which PDF files were created and their locations.
The bundled assets/style.css provides:
For branded output, supply a --css value pointing at your organisation's stylesheet (logo, colours, fonts, headers).
netresearch-branding-skill ships a markdown-pdf.css brand asset. Internal Netresearch users: install both skills, then --css "$(echo $CLAUDE_PLUGIN_ROOT/.../netresearch-branding-skill/.../assets/markdown-pdf.css)".Per file:
✓ converted README.md → README.pdf (12.3 KB)
✓ converted RFC-001.md → RFC-001.pdf (4.7 KB)
| Error | Action |
|---|---|
No .md files matched | List directory contents and ask user |
| WeasyPrint missing | uv run should auto-resolve it; if not, suggest uv pip install weasyprint |
--css file not found | Surface the missing path; do not fall back silently |