WeblateOrg / WeblateOrg/weblate

Improve MDX support

Open
#21,467 1 comment 0 reactions 0 assignees View on GitHub
Area: Quality checks Waiting for: Demand
Dominant language
Python
Stars
6.1k
Forks
1.4k
Avg merge
9h 53m
Merged PRs (30d)
395

Description

### Describe the problem

I'm always frustrated when changes in MD/MDX checks unveil corner cases in JSX syntax like:

* https://github.com/WeblateOrg/weblate/pull/21462
* https://github.com/WeblateOrg/weblate/pull/20889
* https://github.com/WeblateOrg/weblate/pull/21462

### Solution brainstorm

We probaly need a proper JSX parser to avoid these issues.

### Describe alternatives you have considered

_No response_

### Screenshots

_No response_

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the existing MD/MDX checking path and the corner cases described in pull requests #21462 and #20889. Compare how JSX syntax is currently handled with the behavior expected from a proper parser; done means those reported MDX checks no longer misinterpret valid JSX syntax.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, python
Domain
content
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.