adambard / adambard/learnxinyminutes-docs
RTL languages support.
- 主要语言
- Markdown
- 星标
- 12.3k
- 派生
- 3.7k
- 平均合并
- 13 小时 10 分钟
- 30 天内合并 PR
- 6
描述
An example for the Arabic language (https://learnxinyminutes.com/ar/html/):
- The paragraph text before the code block is displayed left-to-right (LTR) instead of right-to-left (RTL).
- Mixed-direction content (Arabic sentences containing English words/terms) becomes visually jumbled, with punctuation and word order appearing incorrect.
Code blocks render as expected; the problem is limited to the non-code paragraph section in the Arabic version.
### Expected behavior
- All Arabic paragraphs render in RTL with correct alignment and ordering.
- Inline English words remain LTR while the surrounding Arabic text remains RTL, without breaking punctuation or layout.
**Actual behavior**
- Arabic paragraphs render as LTR and mixed Arabic/English text appears messy and hard to read.
**Notes**
- This occurs specifically in the Arabic localized content (pre–code block text).
贡献指南
调研方向
Start by reproducing the issue on https://learnxinyminutes.com/ar/html/ and compare non-code Arabic paragraphs with code blocks. Inspect the generated page and the templates or styles that control text direction for localized content. Done means Arabic paragraphs render RTL with mixed English terms preserved LTR, while code blocks continue to render as before.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- css, html, markdown
- 领域
- frontend, internationalization, localization
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100