Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

next
ts 9 lines 293 Bytes
Raw
1 import type { Metadata } from 'next';
2
3 /** Only use for HTML pages that have a corresponding per-page Markdown route. */
4 export function markdownAlternates(pathname: string): Metadata['alternates'] {
5 return {
6 canonical: pathname,
7 types: { 'text/markdown': `${pathname}.md` },
8 };
9 }