Convert markdown documents to professional, clean PDFs with proper formatting.
# 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
-o, --output: Output PDF file path (default: input_filename.pdf)-v, --verbose: Print detailed processing information| Element | Syntax | Status | |||
|---|---|---|---|---|---|
| --------- | -------- | -------- | |||
| Headers | # H1 to ###### H6 | ✅ | |||
| Bold | text or __text__ | ✅ | |||
| Italic | text or _text_ | ✅ | |||
| Inline code | ` code ` | ✅ | |||
| Code blocks | ``` | ✅ | |||
| Bullet lists | - item or * item | ✅ | |||
| Numbered lists | 1. item | ✅ | |||
| Task lists | - [x] done | ✅ | |||
| Tables | ` | col | col | ` | ✅ |
| Links | text | ✅ | |||
| Horizontal rules | --- or * | ✅ | |||
| Blockquotes | > quote | ✅ |
共 1 个版本