Skip to content
This repository was archived by the owner on Feb 19, 2022. It is now read-only.

Conversation

@wsparsons
Copy link

  • code syntax was not highlighting
  • went through MDX guide to try to figure out how to detect the language
  • instead of passing language as a prop, need to pass className and use regex set the language as a variable

@wsparsons wsparsons requested a review from ebrillhart April 1, 2019 18:41
@wsparsons wsparsons changed the title temporary fix the mdx syntax highlight bug temporarily fix the mdx syntax highlight bug Apr 1, 2019
prismjs "1.6.0"
react-emotion "^8.0.8"
react-live "^1.11.0"
react-live "^1.12.0"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey Wendy! This all looks great, but I am going to make a small change and revert to the previous version of react-live - there's a weird issue where the version always has to be the same as whatever prismjs is using, so I want to keep that aligned. Once I've made that change I'll merge it - just wanted to give you the context there!

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh ok, thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants