360 Secure SkillHub
360 安全技能中心

MD Table Image

读取 Markdown 文本(命令行参数或标准输入),通过 Node 脚本配合无头浏览器渲染为 PNG 图片,支持指定输出路径、标题、宽度和深色主题。仅做图片渲染,不解析或修改表格内容。

分类:效率
kirorab
kirorab
热度 47.35
最近更新 2026-05-17 12:35:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add kirorab/md-table-image
兼容性
通用兼容
联网要求
不联网
数据出网
数据不出本机
Metadata
name
md-table-image
description
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.
metadata
{"clawdbot":{"emoji":"📊","requires":{"bins":["node"]}}}

MD Table Image

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

Usage

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

Or pipe markdown in:

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.