# Pdf Generator

> 从HTML、Markdown或文本内容生成PDF文档，支持模板、样式和页面配置。

从HTML、Markdown或文本内容生成PDF文档，支持模板、样式和页面配置。

- Page: https://ss33.ai/skills/aidotnet/pdf-generator-68549076246
- Publisher: aidotnet
- Category: [Business](https://ss33.ai/skills/category/business-y1h0vy) › [Operations & productivity](https://ss33.ai/skills/category/business-y1h0vy/operations-and-productivity-ivsf8j)
- License: MIT
- Source: https://github.com/aidotnet/moyucode/blob/9fa0412ff1d57ca3216835637773ac975cae1009/skills/tools/pdf-generator/SKILL.md

## Skill

SKILL.md: https://ss33.ai/api/v1/ss33/download/aidotnet/pdf-generator-68549076246

# 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

```bash
# 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: ✅
