-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Would be great to have frontmatter for each files include in the project Markdown file, so we can include descriptions and additional instructions or context
## src/pages/api/hello.ts
[description]
[tags]
```ts
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import type { NextApiRequest, NextApiResponse } from "next";
type Data = {
name: string;
};
export default function handler(
req: NextApiRequest,
res: NextApiResponse<Data>,
) {
res.status(200).json({ name: "John Doe" });
}
daniloc
Metadata
Metadata
Assignees
Labels
No labels