brewdoc:md-to-pdf

Converts Markdown files to PDF using reportlab or weasyprint engines.

30|2|Updated Jan 24, 2026
One-click install
npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewdoc-md-to-pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: brewdoc:md-to-pdf
Source: https://github.com/kochetkov-ma/claude-brewcode/tree/main/brewdoc/skills/md-to-pdf
Command: npx skills add https://github.com/kochetkov-ma/claude-brewcode --skill brewdoc-md-to-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill automates the conversion of Markdown files into professional-looking PDF documents, saving time and ensuring consistent formatting.

Core Features & Use Cases

  • Flexible Rendering: Supports two engines, reportlab (fast, pure Python) and weasyprint (high-quality, CSS-driven), allowing you to choose based on your needs.
  • Customization: Offers options for styling, page layout, color schemes, and code highlighting.
  • Use Case: Convert your project's README.md file into a polished PDF for easy sharing or archival.

Quick Start

Convert the markdown file named 'report.md' into a PDF document.

Frequently Asked Questions about brewdoc:md-to-pdf

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

FAQPage Schema
How do I convert a markdown file to a PDF document?

To convert markdown to PDF, this Skill processes your markdown files and renders them into professional PDF documents using either the reportlab or weasyprint engine. You simply provide the markdown file, and it handles the formatting and conversion automatically.

What is the difference between reportlab and weasyprint for markdown to PDF conversion?

For markdown to PDF conversion, reportlab is a fast, pure Python engine, while weasyprint is a high-quality, CSS-driven engine. You can select between them using argument parsing to choose the rendering approach that best fits your document needs.

Can I customize the PDF styling when converting from markdown?

Yes, you can customize PDF styling during markdown conversion through interactive style configuration via user questions, allowing you to define page layout, color schemes, and code highlighting before generating the final document.

Do I need to install dependencies to use weasyprint or reportlab for PDF conversion?

The Skill performs dependency checks automatically before rendering your markdown to PDF. This ensures that the required packages for your chosen engine, whether reportlab or weasyprint, are verified and available before the conversion process begins.

Can I preprocess markdown content before converting it to PDF?

Yes, you can preprocess markdown content before PDF conversion by using custom prompts in the CONVERT+PROMPT mode. This allows you to modify or inject specific instructions into the markdown file prior to the rendering stage.

What are the limitations of using a pure Python engine for markdown to PDF conversion?

Using a pure Python engine like reportlab for markdown to PDF conversion prioritizes speed over advanced CSS-driven layout control. If your document requires complex styling or high-quality CSS rendering, you should switch to the weasyprint engine instead.