← 返回 Skills 市场
20181112523

Markdown to PDF Advanced

作者 20181112523 · GitHub ↗ · v1.1.1 · MIT-0
cross-platform ✓ 安全检测通过
186
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install md-to-pdf-advanced
功能描述
Convert Markdown files to PDF with multiple backend options (WeasyPrint, Pandoc, wkhtmltopdf). Supports syntax highlighting, tables, images, custom CSS theme...
安全使用建议
This skill appears to do what it says: run the included Python script to convert Markdown to PDF. Before installing/use: (1) be aware the script may attempt to install Python packages via pip at runtime (network access and package installation), so pre-install dependencies if you require offline or locked environments; (2) the script invokes subprocesses (pandoc/wkhtmltopdf) if present — review and install those from your trusted package sources if needed; (3) it does not request any secrets, but run it in a controlled environment if you want to limit package installs or subprocess execution. If you want to avoid any runtime network activity, pre-install WeasyPrint/Pygments/markdown and/or ensure pandoc/wkhtmltopdf are available on the system.
功能分析
Type: OpenClaw Skill Name: md-to-pdf-advanced Version: 1.1.1 The skill bundle is a legitimate tool for converting Markdown files to PDF using WeasyPrint or Pandoc. The core logic in `scripts/md_to_pdf.py` handles document conversion, syntax highlighting via Pygments, and CSS styling without any signs of malicious intent. While the script includes an auto-install feature for Python dependencies using `subprocess`, it is clearly documented in `SKILL.md` and aligned with the tool's purpose; furthermore, subprocess calls are implemented safely using argument lists rather than shell execution.
能力评估
Purpose & Capability
Name/description match the files and code: a Python-based Markdown→PDF converter with optional pandoc/wkhtmltopdf support. Required binaries (python3, optional pandoc/wkhtmltopdf) and provided CSS assets are appropriate for this purpose.
Instruction Scope
SKILL.md instructs the agent to run the included script (exec('python3 .../md_to_pdf.py')) which is expected. The script reads only the input Markdown and optional CSS, writes the output PDF, and may invoke subprocesses (pandoc/wkhtmltopdf or pip). One small inconsistency: the skill metadata says "No network required for local file conversion," but the script can attempt to auto-install WeasyPrint via pip at runtime (and support for remote images implies optional network access).
Install Mechanism
Install spec uses standard package managers (pip, apt, brew) and only installs well-known packages (weasyprint, markdown, Pygments, pandoc, wkhtmltopdf). No downloads from untrusted URLs. Runtime pip install (install_weasyprint) occurs inside the script if WeasyPrint is missing — this is normal but requires network and executes package installation.
Credentials
The skill requests no environment variables or credentials and does not access config paths. It only reads user-supplied input and optional local CSS files, which is proportionate to its function.
Persistence & Privilege
The skill does not request persistent or elevated platform privileges, always:false, and does not modify other skills or system-wide settings. It runs as an ordinary utility invoked by the agent.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install md-to-pdf-advanced
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /md-to-pdf-advanced 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.1
Add emoji troubleshooting guide for PDF rendering
v1.1.0
Add emoji troubleshooting guide for PDF rendering
v1.0.0
Initial release: Multi-backend Markdown to PDF converter with WeasyPrint and Pandoc support, syntax highlighting, and multiple CSS themes
元数据
Slug md-to-pdf-advanced
版本 1.1.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Markdown to PDF Advanced 是什么?

Convert Markdown files to PDF with multiple backend options (WeasyPrint, Pandoc, wkhtmltopdf). Supports syntax highlighting, tables, images, custom CSS theme... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 186 次。

如何安装 Markdown to PDF Advanced?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install md-to-pdf-advanced」即可一键安装,无需额外配置。

Markdown to PDF Advanced 是免费的吗?

是的,Markdown to PDF Advanced 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Markdown to PDF Advanced 支持哪些平台?

Markdown to PDF Advanced 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Markdown to PDF Advanced?

由 20181112523(@20181112523)开发并维护,当前版本 v1.1.1。

💬 留言讨论