Bidi support
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 806
- Forks
- 434
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 32
Description
Is your feature request related to a problem? Please describe.
If the document is written in or translated into an RTL script (Arabic, Hebrew, etc.), it would be great if ReSpec can change the UI automatically.
Describe the solution you'd like
Ideally, the ReSpec pill should be on the left and the ToC should be on the right (like this).
Additional context
This is what I see if I add lang="ar" dir="rtl" to the <html> tag of a ReSpec document currently:
Describe any alternatives you've considered
Customize the CSS myself.
Contributor guide
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 reproducing the document with lang="ar" and dir="rtl", then inspect the ReSpec UI elements mentioned: the ReSpec pill and the table of contents. Done means the UI automatically places the pill on the left and the ToC on the right for RTL documents, without requiring custom CSS.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- css, javascript
- Domain
- frontend, internationalization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100