返回顶部
m

markdown-to-pdf

Convert Markdown files to beautiful PDF documents. Supports custom styling, code highlighting, and multiple output options. Use when users need to convert MD to PDF for documentation, notes, reports, or sharing.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.0
安全检测
已通过
141
下载量
0
收藏
概述
安装方式
版本历史

markdown-to-pdf

# markdown-to-pdf ## Overview Convert Markdown text or files to professional-looking PDF documents. Uses `markdown` package to convert MD to HTML, then `wkhtmltopdf` to generate PDF. Supports code syntax highlighting and custom CSS styling. ## Features - **Convert MD file to PDF**: Take a Markdown file and output a ready-to-share PDF - **Standalone output**: Embeds all styles, no external dependencies - **Code highlighting**: Automatic syntax highlighting for code blocks - **Custom CSS**: Option to provide custom CSS for styling ## Dependencies ```bash pip install markdown pygments # You also need wkhtmltopdf installed: # macOS: brew install wkhtmltopdf # Ubuntu/Debian: sudo apt install wkhtmltopdf ``` ## Usage ### Basic conversion ```bash python3 scripts/convert.py input.md output.pdf ``` ### With custom CSS ```bash python3 scripts/convert.py --css custom.css input.md output.pdf ``` ## Resources ### scripts/ - `convert.py` - Convert Markdown file to PDF

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 markdown-to-pdf-1776060361 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 markdown-to-pdf-1776060361 技能

通过命令行安装

skillhub install markdown-to-pdf-1776060361

下载 Zip 包

⬇ 下载 markdown-to-pdf v1.0.0

文件大小: 3.07 KB | 发布时间: 2026-4-14 12:55

v1.0.0 最新 2026-4-14 12:55
Initial release: Convert Markdown files to beautiful PDF documents with code syntax highlighting. Supports custom CSS styling. Requires markdown, pygments Python packages and wkhtmltopdf system binary.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部