Next.js Discord

Discord Forum

React Syntax Highlighter for markdown

Unanswered
Mugger Crocodile posted this in #help-forum
Open in Discord
Mugger CrocodileOP
So i'm having trouble using the react-syntax-highlighter module, VSCode seems to recognize it when i start typing the name but it keeps saying it's unrecognized. Is this out of date maybe? And what's an alternative to have syntax highligting for markdown?

13 Replies

Mugger CrocodileOP
yes i have installed it, but maybe it's because collisions with other packages?
i guess it's because of this
@Mugger Crocodile i guess it's because of this
It is a error between next-auth and authjs.
You can resolve the conflict later on, and run with --legacy-peer-deps
You can use Ai to resolve the conflict, like Copilot, its really helpful
Mugger CrocodileOP
i'll try thanks
Silver carp
You should not be using different versions, use one version of next-auth and authjs
@Mugger Crocodile resolved?
Mugger CrocodileOP
Not yet
@Anay-208 | Ping in replies This command didn't work?
Mugger CrocodileOP
Ye it didn't work, but once I'm on my pc I'll try to fix the authenticator conflict and maybe that'll fix it. But I'm actually thinking of dropping the markdown usage on my web app as I only need it for the documentation part using markdown. There are plenty of documentation application I can use instead
Like gitbook is what I've been using before and a friend on mine recommended obsidian