Mirror the existing #gist= loader with a #url=<raw file> loader so the docs site can link snippets whose inline #src= fragment would be impractically long: the site links to the raw file at a pinned commit and the playground fetches it (raw.githubusercontent.com serves Access-Control-Allow-Origin: *). Restricted to raw.githubusercontent.com via an allowlist so the playground can't be turned into a generic cross-origin fetch proxy. Short snippets still travel inline. This is the engine half of the "Open in Playground" links; the docs-site build (mcrogueface.github.io) generates the #src=/#url= URLs and picks per snippet. closes #382 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LTh2ZW7bd3XSd9qK86Z2CE |
||
|---|---|---|
| .. | ||
| manifest.json | ||