md-table-image

ClawSkills 作者 clawskills

Render markdown tables as PNG images. Use whenever you need to send a table in chat — render it as an image instead of raw markdown text.

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install clawskills:clawskills~kirorab-md-table-image
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/clawskills%3Aclawskills~kirorab-md-table-image/file -o kirorab-md-table-image.md
# MD Table Image

Renders markdown (especially tables) into a styled PNG image.

## Usage

```bash
node {baseDir}/scripts/render.mjs "markdown content" -o /path/to/output.png
```

Or pipe markdown in:

```bash
echo "| A | B |\n|---|---|\n| 1 | 2 |" | node {baseDir}/scripts/render.mjs -o /path/to/output.png
```

## Options

- `-o <path>`: Output PNG path (default: `/tmp/table.png`)
- `--title <text>`: Optional title above the table
- `--width <px>`: Viewport width (default: 800)
- `--dark`: Dark theme

## When to Use

**Always** use this skill when sending tables to chat. Render the table as an image and send the image instead of raw markdown.