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

.wmde-markdown md global style intrusion #261

Open
NieZhuZhu opened this issue Mar 6, 2024 · 1 comment
Open

.wmde-markdown md global style intrusion #261

NieZhuZhu opened this issue Mar 6, 2024 · 1 comment

Comments

@NieZhuZhu
Copy link

Is it possible to put this css style into the .wmde-markdown class package?
The styles imported by react-markdown-preview have a higher priority, but variables such as --color-prettylights-syntax-entity-tag are not under the global body tag. If the user uses prism to highlight code blocks, the following code causes prism highlighting to be unavailable.
https://github.com/uiwjs/react-markdown-preview/blob/master/core/src/styles/markdown.less#L1084-L1176
image

jaywcjlove added a commit that referenced this issue Mar 6, 2024
@jaywcjlove
Copy link
Member

@NieZhuZhu upgrade v5.0.9

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

No branches or pull requests

2 participants