# Md Table Image

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

- Skill: `modbender/md-table-image` (Agent Skill, multi-file: 4 files)
- Install (CLI): `npx skillmds@latest add modbender/md-table-image`
- Raw SKILL.md: https://api.skillmd.com/api/skills/modbender/md-table-image/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: modbender (https://skillmd.com/u/modbender)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/modbender/md-table-image

---

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

