speced / speced/respec

Bidi support

Open
#4,223 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Feature request
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:

Arabic

Describe any alternatives you've considered

Customize the CSS myself.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.