Overview
Simple fix for KaTeX and code LTR rendering in RTL pages
Fixing KaTeX Formula and Code Display in Right-to-Left Languages When writing in RTL languages like Hebrew or Arabic, KaTeX formulas and code lines may appear reversed — rendered right-to-left instead of the standard left-to-right direction. This common issue affects platforms like ChatGPT and many websites, making math and code harder to read. This extension automatically forces all KaTeX formulas and code blocks to display left-to-right (LTR), without altering the rest of the text, without re-rendering, and without affecting page performance. תיקון תצוגת נוסחאות KaTeX וקוד בשפות מימין לשמאל כאשר כותבים בשפות כמו עברית או ערבית, נוסחאות מתמטיות (KaTeX) ושורות קוד עלולות להופיע בצורה הפוכה – מימין לשמאל – מה שפוגע בקריאות ובהבנה. בעיה זו נפוצה בפלטפורמות כמו ChatGPT ובאתרים נוספים. תוסף זה מתקן אוטומטית את כיוון התצוגה של נוסחאות KaTeX ושורות קוד כך שיופיעו תמיד משמאל לימין (LTR), בלי להשפיע על שאר הטקסט, בלי לרנדר מחדש, ובלי לגרום להאטה בדף. تصحيح عرض صيغ KaTeX وأكواد البرمجة في اللغات من اليمين إلى اليسار عند الكتابة بلغات RTL مثل العربية أو العبرية، قد تظهر الصيغ الرياضية (KaTeX) وسطور الأكواد بشكل مقلوب أو غير واضح – تُعرض من اليمين إلى اليسار بدلاً من الاتجاه الصحيح (من اليسار إلى اليمين). هذه المشكلة شائعة في منصات مثل ChatGPT وغيرها. يقوم هذا الامتداد تلقائيًا بضبط اتجاه عرض صيغ KaTeX وسطور الأكواد لتكون دائمًا من اليسار إلى اليمين (LTR)، دون التأثير على باقي النص، وبدون إعادة توليد أو تباطؤ في الصفحة.
Details
- Version1.1
- UpdatedJune 23, 2025
- Offered byofekadanan
- Size8.05KiB
- LanguagesEnglish
- Developer
Email
4ofek4dj@gmail.com - Non-traderThis developer has not identified itself as a trader. For consumers in the European Union, please note that consumer rights do not apply to contracts between you and this developer.
Privacy
This developer declares that your data is
- Not being sold to third parties, outside of the approved use cases
- Not being used or transferred for purposes that are unrelated to the item's core functionality
- Not being used or transferred to determine creditworthiness or for lending purposes