Adding code snippets to static markdown in Next.js using react-syntax-highlighter IMPORTANT NOTE: The below code and examples have tested and work with react-markdown 6.0.2, these examples do not work with version 5 and below I recently fully converted my WordPress blog completely to static generated Next.js and it came with some difficulties. One problem was…

Read More