PostHog / PostHog/context-mill
Frontmatter support for all files
Open
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 60
- Forks
- 17
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
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" });
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue does not name implementation files or tests. Start by locating the code that assembles the project Markdown file and inspect how files such as src/pages/api/hello.ts are represented; the work is done when included files can carry descriptions, tags, and additional context through frontmatter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, markdown, nextjs, typescript
- Domain
- documentation, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100