Skip to content

feat(demo): MDsveX /docs with enhanced-video-sveltekit guide - #2

Merged
victorDigital merged 2 commits into
mainfrom
victor/docs-mdsvex-route-5145
May 17, 2026
Merged

feat(demo): MDsveX /docs with enhanced-video-sveltekit guide#2
victorDigital merged 2 commits into
mainfrom
victor/docs-mdsvex-route-5145

Conversation

@victorDigital

@victorDigital victorDigital commented May 16, 2026

Copy link
Copy Markdown
Member

Adds a /docs route to the demo app using MDsveX (+page.svx), remark-gfm, a shared article layout with mapped markdown elements, and shadcn-svelte callouts and cards.

The docs content is a full guide to enhanced-video-sveltekit: two-plugin architecture (markup + loader), feature list (ladder, codecs, poster picture, lazy sources, playback polish, cache, HMR, types), requirements (Node, ffmpeg ≥6 + libs), binary resolution order, install, Vite plugin order (incl. Tailwind), authoring rules and runtime props, full output formats table, quality tiers and resolution dedup rules, enhancedVideos() / advanced / QualityOverrides, recipe snippets + override example, programmatic ?enhanced-video import, browser notes, dev vs production, cache semantics, WebContainers no-op behavior, live video via DocsVideoFeature.svelte, and limitations.

Fenced Svelte examples use <enhanced:video so the raw .svx never contains the substring that triggers the markup plugin on non-Svelte sources.

Also: light Prism (One Light) + light table/code surfaces, docs shell layout + nav, home → Docs link.

Open in Web Open in Cursor 

@victorDigital
victorDigital marked this pull request as ready for review May 17, 2026 12:12
@victorDigital
victorDigital merged commit 78e4fa0 into main May 17, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants