markdown-table-to-image
将 Markdown 表格转换为清晰图片。当用户说"表格看不清"、"生成图片"、"转成图片"时触发。
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/bg1avd/markdown-table-to-imageWhat This Skill Does
The markdown-table-to-image skill is an essential utility designed to bridge the gap between raw text-based Markdown data and visual accessibility. Many AI interfaces struggle to render complex, multi-column tables in a way that remains legible on mobile screens or within restricted chat windows. This skill solves that problem by taking a Markdown-formatted string, parsing it, styling the cells with professional center-aligned formatting, and rendering it as a high-quality PNG image using the wkhtmltoimage engine. By converting data into a visual format, it ensures that your tables look clean, uniform, and readable regardless of the platform's constraints.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/bg1avd/markdown-table-to-image
This command automatically pulls the necessary scripts and dependencies from the openclaw/skills repository. Ensure that your environment has wkhtmltoimage installed, as the script relies on this binary to perform the rendering process from the generated HTML representation.
Use Cases
This skill is ideal for financial analysts, project managers, and researchers who frequently share data tables in chat environments. It is perfect for turning dense technical specifications, pricing comparisons, or comparative research findings into portable image files. Because the images are generated locally, they are ideal for generating quick visual assets for reports or sharing snapshots of data in Slack, Teams, or OpenClaw-integrated messaging channels.
Example Prompts
- "This table is getting squashed on my phone, can you turn it into a clear image for me?"
- "Generate a PNG file for this table so I can easily copy it into my presentation."
- "The text in the Markdown table is hard to read, convert the whole thing to an image so I can zoom in properly."
Tips & Limitations
- Default Width: The script defaults to a 900px width. If you have a table with many columns, you can pass an additional argument (e.g., 1200 or 1600) to increase the canvas width.
- Language Support: The rendering engine fully supports UTF-8, making it excellent for documents mixing Chinese, English, and other international characters.
- Content Complexity: While the tool handles standard Markdown tables effectively, extremely complex tables with nested structures might require manual adjustment of the width parameter to ensure text does not overflow or wrap awkwardly.
- File Access: Ensure the agent has permission to write to the designated temporary file directory to prevent errors during the generation process.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-bg1avd-markdown-table-to-image": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-write, file-read, code-execution
Related Skills
Latex Verbatim Center
Skill by bg1avd
youtube-downloader-skimmer
下载 YouTube 视频并自动剪辑关键片段
task-queue-by-model-source
Multi-queue task orchestration system. Tasks are routed to queues by model source, with support for task dependencies, context passing, and failure handling. Each model source has its own FIFO queue, executing one task at a time.
QQBot Media Sender
一键发送图片/视频/文件到 QQ,支持批量发送和自动压缩
context-shrink
Auto-compress session memories when context usage exceeds 85%