HtmlToPdf

Community

Convert HTML to faithful PDFs with slide support.

Authormec07
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Converting HTML content to fixed-layout PDFs with high fidelity, eliminating manual conversion and formatting drifts.

Core Features & Use Cases

  • Auto-detects slide decks via data-slide attributes and exports each slide as a separate PDF page.
  • Renders complex layouts, CSS, SVG, and web fonts faithfully using Playwright headless Chromium.
  • Use cases include generating project deliverables, archiving webpages, or converting reports and slides into portable PDFs.

Quick Start

Provide the path to an HTML file and run the skill to generate a PDF alongside the input.

Dependency Matrix

Required Modules

playwright

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: HtmlToPdf
Download link: https://github.com/mec07/claude_skills/archive/main.zip#htmltopdf

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.