-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Code block background color changed after upgrading to v3.9.9 #354
Comments
I confirm this upgrade is correct. The code block color is the color that plagiarized GitHub displays code blocks. You can conflict styles to customize. |
Thanks for the update. But this is really strange. I just rolled back the code which was having the older version and the code block bg color is looking as expected. So how to identify what has changed ? |
@jaywcjlove On react-md-editor@^3.9.9 and react-markdown-preview@~3.5.0On react-md-editor@^3.8.2 and react-markdown-preview@3.4.1And if I will just remove the following, then everything is working fine: Seems like here is the changes that's breaking the code block color: Old Working code: https://github.com/uiwjs/react-markdown-preview/blob/v3.4.1/src/styles/markdown.less#L24 Let me know how this can be fixed. |
yes i fixed it, it needs background color. |
OK. If that's the case then let me see how can I overwrite that in my scss file. |
I was able to fix the code block color in my code itself. So closing this now. |
react-md-editor
version to v3.9.9 which fixed the list issue but now background color for the code block got changed.Before upgrade
After upgrade
The text was updated successfully, but these errors were encountered: