Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

md-table-image

bởi kirorab

DevOps & Cloud
326Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Render markdown tables as PNG images.

Mô tả

Kỹ năng này làm gì

Renders markdown tables and content into styled PNG images using a Node.js script. Accepts input as a command-line argument or via pipe. Supports optional title, viewport width, and dark theme.

Platforms like Slack, email, and many chat tools don't render markdown tables, so an image ensures the recipient sees formatted output regardless of their client.

Khi nào nên dùng

  • Sending a comparison table in a chat message
  • Sharing data summaries that look broken as raw markdown
  • Posting formatted tables to platforms that don't render markdown
  • Archiving tabular data as a visual snapshot
  • Attaching structured output to a report or ticket

Quy trình ví dụ

ĐẦU VÀO

User asks: render this markdown table as an image: | Name | Score |\n|------|-------|\n| Alice | 95 |\n| Bob | 87 |

AGENT
  1. 1

    Receive the markdown table string

  2. 2

    Run node scripts/render.mjs with the markdown content and -o flag pointing to output path

  3. 3

    Optionally pass --title or --dark flags based on context

  4. 4

    Script renders the table to a PNG at the specified path

  5. 5

    Return or send the generated PNG file

ĐẦU RA

A PNG image file containing the styled rendered table

Cài đặt

clawhub install kirorab/md-table-image

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết