Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Prism Theme and Gatsby-Browser.js file #142

Closed
wants to merge 3 commits into from

Conversation

rmkubik
Copy link

@rmkubik rmkubik commented Dec 10, 2018

While using this awesome starter blog repository, I noticed that code syntax highlighting wasn't functioning in blog posts.

Doing some more research, I found that the gatsby-prism-remark plugin used in this repository requires a theme before syntax highlighting will be visually rendered.

This PR adds the requisite gatsby-browser.js file and theme require statement to get Prism to correctly provide syntax highlighting. Additionally, I included a code snippet in one of the blog posts to illustrate the syntax highlighting.

@sidharthachatterjee
Copy link
Contributor

Hey @rmkubik

Thank you for opening this. We've moved our official starters over to our monorepo to help ease maintenance (gatsbyjs/gatsby#10310). Closing this since this repo is now a read-only mirror.

Please reopen this PR against the monorepo if you'd like.

restato pushed a commit to restato/gatsby-starter-blog that referenced this pull request Jun 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants