markdown-to-pdf
name: markdown-to-pdf
by alone86136 · published 2026-04-01
$ claw add gh:alone86136/alone86136-markdown-to-pdf---
name: markdown-to-pdf
description: 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.
---
# 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
Dependencies
pip install markdown pygments
# You also need wkhtmltopdf installed:
# macOS: brew install wkhtmltopdf
# Ubuntu/Debian: sudo apt install wkhtmltopdfUsage
Basic conversion
python3 scripts/convert.py input.md output.pdfWith custom CSS
python3 scripts/convert.py --css custom.css input.md output.pdfResources
scripts/
More tools from the same signal band
Order food/drinks (点餐) on an Android device paired as an OpenClaw node. Uses in-app menu and cart; add goods, view cart, submit order (demo, no real payment).
Sign plugins, rotate agent credentials without losing identity, and publicly attest to plugin behavior with verifiable claims and authenticated transfers.
The philosophical layer for AI agents. Maps behavior to Spinoza's 48 affects, calculates persistence scores, and generates geometric self-reports. Give your...