plotdown 作者: kzu
Renders plot code blocks of JSON as Observable Plot charts on GitHub, GitLab, AI chats and any page you read.
扩展元数据
屏幕截图
关于此扩展
Charts in Markdown, everywhere you read it.
plotdown turns fenced
With the extension, such blocks show as charts on GitHub (READMEs, issues, pull requests, comments, gists), GitLab (gitlab.com and self-hosted), Bitbucket, Gitea, Forgejo and Codeberg, Azure DevOps, AI chats such as ChatGPT, Claude and Gemini, and any page that shows Markdown code blocks. A button on each chart shows its source again.
The format is open and documented at https://plotdown.cc, with a CLI and a GitHub Action that turn the same blocks into images, and plugins for Markdown tools, React, VS Code, Obsidian and AI agents.
plotdown is open source (MIT) and not affiliated with Observable, Inc. Observable Plot is © Observable, Inc., under the ISC license.
plotdown turns fenced
plot code blocks into Observable Plot charts. A block holds the options of Observable Plot as JSON, with marks and transforms as data:{
"marks": [
{"mark": "barY", "data": [{"lang": "JS", "repos": 31}, {"lang": "Go", "repos": 14}], "x": "lang", "y": "repos"}
]
}
With the extension, such blocks show as charts on GitHub (READMEs, issues, pull requests, comments, gists), GitLab (gitlab.com and self-hosted), Bitbucket, Gitea, Forgejo and Codeberg, Azure DevOps, AI chats such as ChatGPT, Claude and Gemini, and any page that shows Markdown code blocks. A button on each chart shows its source again.
- Works on any site. The blocks
plot,oplotandobservable-plotare found by their markup, with no setup per site. - Light on the pages you visit. A tiny detector looks for a plot block; the renderer is added only to pages that have one.
- Safe with blocks written by anyone. A block is data: nothing in it is run as code. Links are limited to http, https and mailto, and data or images from the network are never loaded.
- Private. Charts are drawn in your browser. The extension collects nothing and sends nothing.
- Your switches. Turn it off for a site, or everywhere, from its toolbar button.
The format is open and documented at https://plotdown.cc, with a CLI and a GitHub Action that turn the same blocks into images, and plugins for Markdown tools, React, VS Code, Obsidian and AI agents.
plotdown is open source (MIT) and not affiliated with Observable, Inc. Observable Plot is © Observable, Inc., under the ISC license.
评分 0(1 位用户)
权限与数据
更多信息