Search

PythonReactSEOPDF
OpenClaw

markdown-table-to-image

将 Markdown 表格转换为清晰图片。当用户说"表格看不清"、"生成图片"、"转成图片"时触发。

bg1avd0 source installs☆ 0 Repository starsv1.0.2

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install bg1avd/markdown-table-to-image

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Markdown 表格转图片 v1.0.1

流程

  1. 解析 Markdown 表格
  2. 生成 HTML(单元格内容居中对齐)
  3. 用 wkhtmltoimage 输出为图片

使用方式

# 从文本生成
node {baseDir}/scripts/md2img.js "| 列1 | 列2 |
|------|------|
| A | B |" output.png

# 指定宽度(默认900)
node {baseDir}/scripts/md2img.js "表格内容" output.png 1200

在 Agent 中使用

用户: 把这个表格转成图片

Agent:
1. 提取表格内容
2. node ~/.openclaw/workspace/skills/table-to-image/scripts/md2img.js "表格内容" /tmp/table.png
3. 发送图片给用户

输出

  • PNG 格式
  • 单元格内容居中对齐
  • 支持中英文

Source information

Source
github
Repository
openclaw/skills
Path
skills/bg1avd/markdown-table-to-image
Version
1.0.2
Commit
660c52198b32e36fe4ec889c1bf68d89f190df98
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Markdown 表格转图片 v1.0.1

## 流程

1. 解析 Markdown 表格
2. 生成 HTML(单元格内容居中对齐)
3. 用 wkhtmltoimage 输出为图片

## 使用方式

```bash
# 从文本生成
node {baseDir}/scripts/md2img.js "| 列1 | 列2 |
|------|------|
| A | B |" output.png

# 指定宽度(默认900)
node {baseDir}/scripts/md2img.js "表格内容" output.png 1200
```

## 在 Agent 中使用

```
用户: 把这个表格转成图片

Agent:
1. 提取表格内容
2. node ~/.openclaw/workspace/skills/table-to-image/scripts/md2img.js "表格内容" /tmp/table.png
3. 发送图片给用户
```

## 输出

- PNG 格式
- 单元格内容居中对齐
- 支持中英文

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.