install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/araa47/md-2-pdf" ~/.claude/skills/clawdbot-skills-md-to-pdf && rm -rf "$T"
manifest:
skills/araa47/md-2-pdf/SKILL.mdsource content
Markdown to PDF
Convert markdown documents to professional, clean PDFs with proper formatting.
Usage
# Basic usage uv run scripts/md-to-pdf.py input.md # Specify output uv run scripts/md-to-pdf.py input.md -o output.pdf uv run scripts/md-to-pdf.py input.md --output my-report.pdf # Verbose mode uv run scripts/md-to-pdf.py input.md -v
Features
- Headers: H1-H6 with hierarchical styling
- Text formatting: Bold, italic, inline code
- Lists: Bullet lists, numbered lists, task lists
- Code blocks: Syntax highlighting with background
- Tables: Full table support with headers
- Links: Clickable hyperlinks
- Horizontal rules: Visual section dividers
- YAML frontmatter: Automatically skipped
- Special characters: Emojis, Unicode symbols
- Page numbers: Automatic footer with page numbers
- Professional styling: Clean, readable output
Options
: Output PDF file path (default: input_filename.pdf)-o, --output
: Print detailed processing information-v, --verbose
Supported Markdown Elements
| Element | Syntax | Status |
|---|---|---|
| Headers | to | ✅ |
| Bold | or | ✅ |
| Italic | or | ✅ |
| Inline code | | ✅ |
| Code blocks | ``` | ✅ |
| Bullet lists | or | ✅ |
| Numbered lists | | ✅ |
| Task lists | | ✅ |
| Tables | ` | col |
| Links | | ✅ |
| Horizontal rules | or | ✅ |
| Blockquotes | | ✅ |