Simon Willison has built an experimental web component called `github-code` by prompting GPT-5.5 to generate the necessary code.

The component accepts GitHub URLs and converts them to raw file links, fetching the content via `fetch()` to display a specified range of lines with line numbers.

It does not include syntax highlighting but provides a previewable implementation for embedding code snippets directly in web pages.