pdf_writer

Convert text, Markdown, or HTML into PDF documents with fpdf2.

38|14|Updated Mar 1, 2026
One-click install
npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-writer-ericwang915
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: pdf_writer
Source: https://github.com/ericwang915/PythonClaw/tree/main/pythonclaw/templates/skills/data/pdf_writer
Command: npx skills add https://github.com/ericwang915/PythonClaw --skill pdf-writer-ericwang915

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Creating professional PDFs from simple text, Markdown, or HTML content without complex tooling or formatting steps.

Core Features & Use Cases

  • Generate PDFs from plain text or Markdown with basic formatting (headings, bold/italic, lists)
  • Preserve simple layouts and metadata such as title and author for quick publishing
  • Use cases include report drafting, document sharing, and content packaging as printable PDFs

Quick Start

Call the script with your preferred output path and content to generate a PDF.

Frequently Asked Questions about pdf_writer

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

FAQPage Schema
How do I convert Markdown to a PDF document?

You can convert Markdown to a PDF document by processing plain text or Markdown content through this Skill, which outputs predictable, multi-page PDF files while preserving basic formatting like headings and lists.

Can I generate a PDF from plain text without complex formatting tools?

Yes, you can generate a PDF from plain text without complex formatting tools by passing your content to this Skill, which relies on the fpdf2 library to output predictable, multi-page documents for quick publishing.

Does the fpdf2 library support adding metadata like title and author to generated PDFs?

Yes, this Skill uses the fpdf2 library to support adding optional metadata like title and author to your generated PDFs, allowing you to preserve document information for quick publishing and sharing.

What is the best way to create a printable PDF report from text content?

The best way to create a printable PDF report from text content is to use this Skill, which packages your lightweight plain text or Markdown inputs into a portable document format with basic formatting and optional metadata.

What formatting limitations exist when converting HTML to PDF with fpdf2?

When converting HTML to PDF with fpdf2, the formatting limitations mean it supports only simple layouts and basic formatting like headings, bold, italic, and lists, rather than complex document structures.