uiwjs / uiwjs/react-codemirror
How to add a simple DSL with custom keywords?
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I'm trying to use CM with a very simple DSL. All I care about for now is keyword and comment highlighting.
I don't want to write a whole new language pack using LeZer parser and ... .
Is it possible via react-codemirror? I noticed there is this https://codemirror.net/5/demo/simplemode.html but I'm not sure how it can be integrated with reac-codemirror.
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by reviewing the react-codemirror integration entry points and the CodeMirror 5 simplemode demo linked in the issue. Determine whether custom keyword and comment highlighting can be integrated without a full language pack, then document the supported approach and a minimal example if one exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Documentation
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100