Weihong-Liu/dsh-html-live-preview ↗★ 0
dsh-html-live-preview
在对话中提供沙箱化的HTML实时预览卡片 适合需要让模型直接生成、渲染并交互操作HTML/JS网页的用户。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Weihong-Liu/dsh-html-live-preview说明文档
阅读完整 README ↗Usage
Ask for something visual, in any wording:
"Draw a bar chart of this week's latency" "Mock up a login page and make the button do something" "Animate how quicksort partitions this array"
The model calls render_html({ html, title?, height? }). The card offers four controls on hover: show the HTML source, copy it, re-run scripts, and expand the height (the frame is capped at 620px by default so a single preview cannot swallow the transcript).