Integrations
Add Markdown negotiation to your framework
accept-md supports Next.js App Router, Pages Router, and SvelteKit with generated handlers that stay compatible with JavaScript projects.
| Framework | Description |
|---|---|
| Next.js App Router | Serve Markdown from Next.js App Router pages with accept-md rewrites and a route handler. |
| Next.js Pages Router | Add Accept Markdown support to Pages Router sites with a generated API route. |
| SvelteKit | Serve Markdown from SvelteKit routes with accept-md hooks and a generated +server handler. |
| Vercel | Deploy accept-md on Vercel with the right base URL, postbuild hook, and cache checks. |