← 返回
效率工具 中文

md-2-pdf

Convert markdown files to clean, formatted PDFs using reportlab
使用 reportlab 将 Markdown 文件转换为简洁、格式化的 PDF
araa47
效率工具 clawhub v1.0.0 1 版本 99755.4 Key: 无需
★ 0
Stars
📥 2,447
下载
💾 0
安装
1
版本
#latest

概述

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

  • -o, --output: Output PDF file path (default: input_filename.pdf)
  • -v, --verbose: Print detailed processing information

Supported Markdown Elements

ElementSyntaxStatus
-------------------------
Headers# H1 to ###### H6
Boldtext or __text__
Italictext or _text_
Inline code` code `
Code blocks```
Bullet lists- item or * item
Numbered lists1. item
Task lists- [x] done
Tables`colcol`
Linkstext
Horizontal rules--- or *
Blockquotes> quote

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-28 15:14 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-intelligence

Local Whisper

araa47
使用 OpenAI Whisper 的本地语音转文字,模型下载后完全离线运行,提供多种模型尺寸的高质量转录。
★ 17 📥 21,610
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,185
productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 438 📥 147,380