huashu-md-to-pdf

Convert Markdown documents into Apple-design PDF whitepapers with cover pages and auto TOCs.

16|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/Marwan78888/Neuron-Cli --skill huashu-md-to-pdf
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: huashu-md-to-pdf
Source: https://github.com/Marwan78888/Neuron-Cli/tree/main/scratch/huashu-skills-master/huashu-md-to-pdf
Command: npx skills add https://github.com/Marwan78888/Neuron-Cli --skill huashu-md-to-pdf

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

将 Markdown 文档转换为符合苹果设计风格的专业 PDF 白皮书,自动生成封面、目录与页眉页脚,提升排版质量与工作效率。

Core Features & Use Cases

  • 自动封面与作者信息
  • 自动目录与双列排版
  • 全面支持 Markdown 要素(代码块、表格、引用、列表等)
  • 适用场景:技术文档、白皮书、教程、报告等需要专业排版的文档。

Quick Start

Run the convert.py script on your Markdown file to generate a polished Apple-design PDF, optionally specifying an output filename with -o and metadata like --title or --author.

Frequently Asked Questions about huashu-md-to-pdf

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

FAQPage Schema
How do I convert Markdown to PDF with an auto-generated table of contents and cover page?▼

To convert Markdown to PDF, run the convert.py script on your document to generate an Apple-design PDF whitepaper with an auto-generated table of contents, cover page, and professional typography.

Does WeasyPrint support rendering Markdown elements like code blocks and tables into PDF?▼

Yes, WeasyPrint renders Markdown elements including code blocks, tables, blockquotes, and lists into a polished PDF. The Skill relies on WeasyPrint and markdown2 to process documents with consistent Apple-design typography.

Can I override the title and author metadata when generating a PDF whitepaper?▼

You can override title and author metadata when generating a PDF whitepaper by passing optional arguments like --title or --author to the convert.py script during the conversion process.

What is the best way to create Apple-design PDF documentation from Markdown for technical guides?▼

The best way to create Apple-design PDF documentation from Markdown is using a conversion script that generates cover pages, auto TOCs, and professional typography tailored for technical guides, product docs, and reports.

Do I need to install markdown2 to convert Markdown files into PDF whitepapers?▼

Yes, you need markdown2 installed as a dependency to parse Markdown elements and convert them into structured PDF whitepapers with dual-column layouts and automated cover pages.

Why does my Markdown to PDF conversion fail to generate dual-column layouts and cover pages?▼

Markdown to PDF conversion fails to generate dual-column layouts and cover pages if the local scripts in the scripts/ directory or SKILL.md metadata are missing, as the Skill relies on these components to render the final PDF output.