Renders markdown (especially tables) into a styled PNG image.
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
-o : Output PNG path (default: /tmp/table.png)--title : Optional title above the table--width : Viewport width (default: 800)--dark: Dark themeAlways use this skill when sending tables to chat. Render the table as an image and send the image instead of raw markdown.
共 1 个版本