Primary sourceSimon Willison’s Weblog
View sourceEvent ·Single source
GPT-5.5 构建的 GitHub 代码嵌入 Web 组件
Simon Willison 使用 GPT-5.5 创建了实验性 Web 组件 github-code,仅通过一个提示词构建。该组件接受类似 https://github.com/simonw/sqlite-ast/blob/437c759... 的 URL,自动转换为 https://raw.githubusercontent.com/... 路径,然后用 fetch() 获取并显示指定行范围(如 #L9-L18),带行号但不支持语法高亮。它可直接嵌入网页展示代码片段。
Current read
Simon Willison 用 GPT-5.5 写了这个 Web 组件,能自动从 GitHub 链接抓取指定行的代码显示在网页上,带行号,做文档或博客嵌入代码很方便。
2 sources22° AI heatLast updated 2026/7/7 16:18:16
Evidence
2 sourcesRelated source 1arXiv cs.AI
View sourceConflict check
Dedup data only shows that these sources discuss the same event, not that they agree. There is no structured supporting or refuting evidence yet, so no conflict is inferred automatically.