Skip to content

Reamrk- components code block not rendering... #1156

Discussion options

You must be logged in to vote

That still is missing a fair bit of detail, aim to create a minimal reproducible example https://stackoverflow.com/help/minimal-reproducible-example
and share it using a sandbox like https://next.new


In the absence of that.
It sounds like you are trying to do server side rendering with Next js + server components?
If so, you are likely running into an issue in the syntax highlighter itself, such as react-syntax-highlighter/react-syntax-highlighter#493, react-syntax-highlighter/react-syntax-highlighter#263 (comment), react-syntax-highlighter/react-syntax-highlighter#509

Next seems to recommend using prism for syntax highlighting markdown code block in SSR mode https://nextjs.org/blog/mark…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@ChristianMurphy
Comment options

@AbhayaShankar
Comment options

@AbhayaShankar
Comment options

@ChristianMurphy
Comment options

Answer selected by ChristianMurphy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants