MD to PDF

Convert Markdown files into A4 PDF documents with brand colors and Japanese support.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/GenerativeX/skills --skill md-to-pdf-generativex
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: MD to PDF
Source: https://github.com/GenerativeX/skills/tree/main/skills/md-to-pdf
Command: npx skills add https://github.com/GenerativeX/skills --skill md-to-pdf-generativex

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the conversion of Markdown files into A4 PDF documents, incorporating brand colors and full Japanese language support, eliminating manual formatting efforts.

Core Features & Use Cases

  • Markdown to PDF Conversion: Transforms Markdown content into a well-formatted PDF.
  • Brand Color Integration: Applies specified brand colors to headings, borders, and accents.
  • Japanese Language Support: Ensures correct rendering of Japanese characters.
  • Use Case: Convert project documentation written in Markdown into a professional-looking PDF report with company branding for client presentations.

Quick Start

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

Frequently Asked Questions about MD to PDF

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

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

To convert Markdown to a branded PDF, this skill transforms Markdown syntax into styled HTML and generates an A4 PDF using WeasyPrint. You simply specify your input Markdown file, output PDF path, and desired brand colors for headings and accents.

Does WeasyPrint support full Japanese language rendering in PDF conversion?

Yes, this Markdown to PDF conversion skill includes full Japanese language support, ensuring correct rendering of Japanese characters. It handles the transformation of Japanese Markdown content into properly styled A4 PDF documents without manual formatting.

Can I customize brand colors when converting Markdown to PDF?

Yes, you can customize brand colors during Markdown to PDF conversion by specifying your desired colors. The skill applies these specified brand colors directly to headings, borders, and accents within the generated A4 PDF document.

What is the best way to convert Markdown tables and code blocks into a PDF?

The best way to convert Markdown tables and code blocks into a PDF is using this skill, which handles the transformation of complex Markdown syntax into styled HTML. It processes tables and code blocks automatically during the WeasyPrint PDF generation.

Do I need to manually format A4 PDFs after converting from Markdown?

No, you do not need to manually format A4 PDFs after converting from Markdown. This skill automates the conversion process, incorporating your brand colors and Japanese language support directly, which eliminates manual formatting efforts entirely.