AGENT SKILL

markdown-pdf

Use this skill when the user wants to convert Markdown documents to PDF with syntax highlighting, custom CSS, and professional typography.

License 许可
MIT
所属仓库
javimosch/supercli
最近更新
2026-11-02
Stars
★ 57
Forks
5

01 前言 Front Matter

name
markdown-pdf
description
Use this skill when the user wants to convert Markdown documents to PDF with syntax highlighting, custom CSS, and professional typography.

03 SKILL.md 正文

markdown-pdf Plugin

markdown-pdf converts Markdown files to PDFs using Electron-based rendering. Supports custom CSS, syntax highlighting, headers/footers, and multiple page sizes.

Commands

  • markdown-pdf _ _ <args> — Passthrough

Usage Examples

  • "convert README.md to PDF"
  • "convert multiple markdown files to a single PDF"
  • "apply custom stylesheet during PDF generation"
  • "generate PDF with page numbers in the footer"

Installation

npm install -g markdown-pdf

Key Features

  • Markdown to PDF conversion with syntax highlighting
  • Custom CSS stylesheet support
  • Multiple page sizes (A4, Letter, etc.)
  • Headers and footers support
  • Page breaks configuration
  • Table of contents generation
  • Consistent cross-platform rendering
  • Batch file processing

04 同仓库更多 Skills