md-table-image

TotalClaw 作者 totalclaw

将 Markdown 表渲染为 PNG 图像。当您需要在聊天中发送表格时使用 - 将其呈现为图像而不是原始 Markdown 文本。

安装 / 下载方式

TotalClaw CLI推荐
totalclaw install totalclaw:totalclaw~kirorab-md-table-image
cURL直接下载,无需登录
curl -fsSL https://skills.taituai.com/api/skills/totalclaw%3Atotalclaw~kirorab-md-table-image/file -o kirorab-md-table-image.md
## 概述(中文)

将 Markdown 表渲染为 PNG 图像。当您需要在聊天中发送表格时使用 - 将其呈现为图像而不是原始 Markdown 文本。

## 原文

# 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.