.wmde-markdown md global style intrusion
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- css, react, typescript
Research direction
Review core/src/styles/markdown.less at lines 1084-1176 and the .wmde-markdown styles first. Reproduce the Prism conflict described in the issue, then verify that the relevant styles are scoped under .wmde-markdown without preventing Prism highlighting.
Written by the indexing model from the issue text.
Description
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
- Dominant language
- TypeScript
- Stars
- 350
- Forks
- 54
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from uiwjs/react-markdown-preview
-
Difficulty 3/5 1-2 days Newbie friendliness 62/100
uiwjs/react-markdown-preview#292 ·
-
Error when evaluating SSR module virtual:react-router/server-build: Unknown file extension ".css"Open
Difficulty 3/5 1-2 days Newbie friendliness 30/100
uiwjs/react-markdown-preview#288 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
uiwjs/react-markdown-preview#287 · 1 comment ·
-
Bundle too heavy?Open
Difficulty 4/5 3-5 days Newbie friendliness 25/100
uiwjs/react-markdown-preview#286 · 1 comment ·
-
Strikethrough Error!Open
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
uiwjs/react-markdown-preview#284 · 1 comment ·
All issues in uiwjs/react-markdown-preview
Similar issues
-
security-scan
Difficulty 1/5 Under an hour Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
enhancement from-studio
Difficulty 2/5 1-3 hours Newbie friendliness 66/100
esengine/DeepSeek-Reasonix#12048 · 1 comment ·
Maintainers usually reply within 1 day
-
fix(data-lake): land GitHub callback failures on the lake instead of the home page (epic #3813)Openbug data-lake github-integration UI/UX
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
test: pet colorsOpentestplan-item
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
bug claimable good first issue pillar/platforms
Difficulty 1/5 Under an hour Newbie friendliness 85/100
hurttlocker/o8#3277 ·
Maintainers usually reply within 1 day