inline-vis
Render a workspace HTML artifact inline in BB chat using the inline-vis directive.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 11
- Forks
- 3
01 前言 Front Matter
- name
- inline-vis
- description
- Render a workspace HTML artifact inline in BB chat using the inline-vis directive.
03 SKILL.md 正文
Inline HTML visualizations
When the user should see a small HTML demo, chart, or report inline in the
assistant message, write (or update) a workspace-relative .html file, then
emit this message directive as its own block (not inside a fenced code
block):
::inline-vis{file="demo.html"}
Rules
fileis workspace-relative (e.g.demo.html,charts/out.html). Never use absolute paths.heightis optional and sets the iframe viewport height in pixels. It must be a whole number from 120 through 1200; omit it for the 224px default.- Only
.html/.htmfiles are accepted. - Inline and external CSS/JavaScript are supported. Remote images, fonts, media, fetches, and WebSockets are also allowed subject to normal browser CORS, mixed-content, and remote-server policies. Scripts execute in an opaque-origin iframe and cannot access the bb page, cookies, or storage.
- Keep files small (under the sidebar preview's 5 MiB document limit).
- Emit the directive only after the file exists on disk in the current thread workspace.
- Do not put the directive inside backticks or a markdown code fence, or it stays literal text.
- Incomplete streaming syntax stays literal until the closing
}arrives — emit a complete directive in one piece when possible.
The bb app replaces the directive with a sandboxed preview. If the plugin is disabled or the path is invalid, users see the original directive source or an inline error from the plugin.
04 同仓库更多 Skills
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
obsidian-clipper-template-creator
Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.
python-api
Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP/mAP semantics, and source-style import diagnostics.
file-evaluation
Folder-based PASCAL VOC AP/mAP evaluation from ground-truth and detection text files.
object-detection-metrics
Guides legacy Object-Detection-Metrics PASCAL VOC AP/mAP evaluation from detection text folders and direct Python API classes.
nx-workspace-patterns
Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.