Use the built-in
prismPreset option to add prism highlighting to
Note that this is only available in Blog Theme 2.0 and beyond.
[0:19] Go to your gatsby-config file and edit your setup for your gatsby-theme-blog plugin. Add the option prismPreset and set whichever theme UI preset you'd like to use for prism, in this case prism-okaidia.
[0:38] Run gatsby develop and navigate to your blog post. Once there, you can see your code snippet with prism highlighting.