lecture-export

Convert HTML lecture slides into a single high-resolution PDF via Playwright.

Updated Mar 31, 2026
One-click install
npx skills add https://github.com/0dot77/lecture-pack --skill lecture-export
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: lecture-export
Source: https://github.com/0dot77/lecture-pack/tree/main/lecture-export
Command: npx skills add https://github.com/0dot77/lecture-pack --skill lecture-export

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires playwright, and includes scripts (resource) components.

What problem does it solve?

HTML slides are often confined to browser viewing and are ill-suited for printing or offline distribution; this skill exports high-quality PDF versions of HTML presentations for sharing, archiving, and presentation handouts.

Core Features & Use Cases

  • Phase 1: Input detection of the HTML presentation, automatic slide-count, quality selection, and optional output path.
  • Phase 2: Export execution via the scripts/export-pdf-hq.sh script that launches Playwright, renders slides at high resolution, captures frames, and stitches them into a single PDF.
  • Phase 3: Post-export behavior including automatic opening of the PDF and guidance about quality presets and font loading.

Quick Start

Convert your HTML lecture slides into a high-quality PDF ready for printing.

Frequently Asked Questions about lecture-export

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I convert HTML slides to PDF for printing?▼

To convert HTML slides to PDF, a scripted flow uses Playwright to render slides at high resolution, capture frames, and concatenate them into a single print-ready document for distribution, printing, or archiving.

What is the best way to export HTML presentation slides for offline distribution?▼

Exporting HTML presentation slides for offline distribution is best handled by a Playwright-based rendering script that detects the HTML deck, captures high-resolution frames, and assembles a single PDF file for easy sharing and archiving.

Does Playwright support high-resolution PDF export from HTML slide decks?▼

Yes, Playwright supports high-resolution PDF export from HTML slide decks by launching a browser instance, rendering each slide as a high-quality frame, and stitching the captured frames into a single PDF document.

Can I automate slide detection and PDF assembly for HTML lecture slides?▼

Automating slide detection and PDF assembly for HTML lecture slides involves an input detection phase that identifies the presentation and slide count, followed by a script that renders and assembles the PDF automatically.

Do I need Node.js to run a Playwright script that exports HTML slides to PDF?▼

Yes, you need a Node.js runtime to execute the Playwright-based script that automates the rendering, frame capture, and PDF concatenation of HTML lecture slides into a final document.

Why does my HTML slides PDF export have missing fonts or poor quality?▼

HTML slides PDF export quality issues like missing fonts can occur during rendering; using high-resolution quality presets and ensuring proper font loading before frame capture helps produce high-quality print-ready PDFs.