Syntax highlighting for code does not work with next.js
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.9k
- Forks
- 201
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
I've installed the latest version of this package, which is supposed to take next.js. I can see that markdown renders correctly, but the code doesn't render syntax highlighting.
is this normal, and how can I solve it?
I didn't want to use nextjs package next-remove-imports to solve the problem.
Contributor guide
No contributing guide indexed for this repository
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
Start by reproducing the issue in a Next.js application using the latest package version, confirming that Markdown renders while code lacks syntax highlighting. Investigate the package's Next.js integration and compare the result with the reported next-remove-imports workaround; done means syntax highlighting works without that workaround.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100