Skip to content


1 post was tagged with "MDX"
All Tags

Language tabs for Gatsby's code blocks

07/09/20193 min read Category: Quick tip
Integrating syntax highlighting in Gatsby is fairly easy as solutions like gatsby-remark-prismjs or prism-react-renderer exist. When creating the code block in Markdown you specify the desired language (e.g. js or css) after the opening three backticks. It's a nice touch to display the specified lan...