Always-fresh embed snippets
embedGenerate ready-to-paste embed snippets for a demo: markdown GIF, still, or HTML video, using stable raw.githubusercontent.com URLs. Pure string generation, no network; owner/repo from the repo origin, demo name from directory.
Instructions
Ready-to-paste embed snippets (markdown GIF, markdown still, HTML ) for a demo, using stable raw.githubusercontent URLs on the 'demo-media' branch. Pure string generation — no network, no render. Owner/repo come from the repo's origin remote; the demo name from the directory basename. Pair with the demo-publish workflow so CI keeps the URLs fresh. See docs/EMBEDS.md.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dir | Yes | demo project directory — pass an absolute path | |
| repo | No | consuming repo to detect owner/repo from (default: server cwd) | |
| still | No | still-frame basename under stills/ (default: poster) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| demo | Yes | ||
| repo | Yes | ||
| urls | Yes | ||
| owner | Yes | ||
| still | Yes | ||
| branch | Yes | ||
| snippets | Yes | ||
| workflow | Yes |