skillfed

pdf-generator

PDF Generator transforms HTML, Markdown, and text content into polished PDF documents with full control over styling, templates, and page configuration. Works with Codex and Claude Code for seamless document export workflows.

PDF Generator converts HTML and Markdown content into formatted PDF documents with custom styling.

AI-generated summary based on this skill's SKILL.md

84 15 MIT updated by AIDotNet

Install

AIDotNet/MoYuCode/pdf-generator · repository language: TypeScript

git clone https://github.com/AIDotNet/MoYuCode
cp -r MoYuCode/skills/tools/pdf-generator ~/.claude/skills/pdf-generator
npx skillfed install AIDotNet/MoYuCode/pdf-generator

Frequently asked questions

AI-generated answers based on this skill's SKILL.md and metadata

Can pdf-generator convert markdown to PDF?

Yes, pdf-generator converts Markdown to PDF with full formatting control. The skill transforms your Markdown content into polished PDF documents, preserving structure and applying custom styling. It works seamlessly with Codex and Claude Code for automated document export workflows.

How do I generate PDF from HTML with pdf-generator?

pdf-generator generates PDF from HTML by processing your HTML content and applying custom page configuration and styling. You can export text-based content with tailored formatting, making it ideal for creating professional documents from web content or templates.

Does pdf-generator support custom styling and templates?

pdf-generator supports custom styling and page configuration for all document exports. It can generate PDF reports with templates and customizable metadata, allowing you to control fonts, colors, layouts, and other formatting options to match your brand or requirements.

Can pdf-generator automate document creation from multiple formats?

Yes, pdf-generator automates document creation from multiple source formats including HTML, Markdown, and plain text. This makes it efficient for batch processing or workflow automation where you need to convert diverse content types into consistent PDF outputs.

What license does pdf-generator use?

pdf-generator is released under the MIT license, making it free and open-source for both personal and commercial use with minimal restrictions.

How does pdf-generator integrate with development tools?

pdf-generator works with Codex and Claude Code, enabling seamless document export workflows directly within your development environment. This integration streamlines PDF generation as part of automated content pipelines.

SKILL.md

rendered from the published skill — quoted content, verbatim

PDF Generator Tool

Description

Generate PDF documents from HTML, Markdown, or text with customizable styling and layout.

Trigger

  • /generate-pdf command
  • User requests PDF generation
  • User needs to export document as PDF

Usage

# Generate PDF from Markdown
python scripts/generate_pdf.py --input "document.md" --output "document.pdf"

# Generate PDF from HTML
python scripts/generate_pdf.py --input "report.html" --output "report.pdf" --format html

# Generate PDF with custom options
python scripts/generate_pdf.py --input "doc.md" --output "doc.pdf" --title "My Report" --author "John" --page-size A4

Tags

pdf, document, export, markdown, html

Compatibility

  • Codex: ✅
  • Claude Code: ✅

Read as markdown · JSON record · Browse the source repository

File tree — 2 files
skills/tools/pdf-generator/SKILL.md
skills/tools/pdf-generator/scripts/generate_pdf.py

Related skills

Tags

document-conversion file-export content-formatting layout-rendering batch-processing