lovstudio:any2pdf

Convert Markdown documents into styled PDF files with Python and ReportLab.

65|18|Updated Apr 2, 2026
One-click install
npx skills add https://github.com/lovstudio/skills --skill lovstudio-any2pdf
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lovstudio:any2pdf
Source: https://github.com/lovstudio/skills/tree/main/skills/lovstudio-any2pdf
Command: npx skills add https://github.com/lovstudio/skills --skill lovstudio-any2pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Convert Markdown documents into professionally typeset PDFs using Python and ReportLab, enabling consistent, print-ready outputs for technical reports and documentation.

Core Features & Use Cases

  • Fences code blocks, tables, blockquotes preserved with typographic styling.
  • CJK/Latin mixed text handling with font switching and multilingual support.
  • Clickable TOC, PDF bookmarks, cover pages, watermarks, and per-theme styling.
  • Use cases include turning documentation, product specs, or technical reports into distributable PDFs with a consistent look.

Quick Start

Run the md2pdf.py script with your input markdown to produce a styled PDF.

Frequently Asked Questions about lovstudio:any2pdf

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

FAQPage Schema
How do I convert Markdown to PDF with proper Chinese font handling?

Convert Markdown to PDF with proper CJK font handling using Python and ReportLab, which wraps fonts to ensure mixed Chinese and Latin text renders correctly in the output file.

Does ReportLab preserve Markdown code blocks and tables when generating a PDF?

Yes, ReportLab preserves fenced code blocks and tables when generating a PDF, applying typographic styling to maintain structure and formatting in the output document.

Can I add a clickable table of contents and bookmarks to a PDF generated from Markdown?

Yes, you can add a clickable table of contents and PDF bookmarks to a generated Markdown PDF, alongside cover pages and watermarks, using the configurable design system.

What is the best way to typeset technical reports from Markdown into print-ready PDFs?

The best way to typeset technical reports from Markdown into print-ready PDFs is using Python with ReportLab to apply multiple color themes, handle CJK fonts, and preserve code blocks.

How do I apply different color themes when converting Markdown to PDF?

Apply different color themes when converting Markdown to PDF by utilizing a configurable design system that provides per-theme styling for consistent document outputs.