Persian RTL Markdown PreviewCorrect Persian/Farsi RTL and mixed English–Persian text in VS Code's built-in Markdown Preview. فارسیاین افزونه جهت نوشتار و چیدمان پیشنمایش داخلی پروندههای متنی را برای زبان فارسی اصلاح میکند. تیترها، بندها، فهرستها، نقلقولها و خانههای جدول بهدرستی راستبهچپ میشوند. متنهای کاملاً انگلیسی و قطعههای کد چپبهراست باقی میمانند. اگر یک بند شامل هر دو زبان باشد، وجود نویسههای فارسی باعث میشود جهت پایهٔ همان بند راستبهچپ انتخاب شود. قلم فارسی همراه افزونه است و بدون نصب جداگانه یا اتصال اینترنت بارگذاری میشود. این افزونه فقط پیشنمایش را تغییر میدهد و محتوای پروندهٔ اصلی دستنخورده باقی میماند. EnglishThis extension fixes text direction and layout in VS Code's built-in Markdown Preview. Persian blocks are rendered right-to-left, while English-only text and code remain left-to-right. Mixed-language blocks are detected per block, including paragraphs, headings, lists, blockquotes, and table cells. The bundled Noto Sans Arabic font provides consistent offline rendering without requiring a separate font installation. The extension changes only the rendered preview. Your Markdown source remains untouched. Preview
Features
InstallFrom a VSIX file
UseOpen any
How it worksThe extension inspects each rendered Markdown block. A block containing Persian or Arabic-script characters receives an explicit RTL direction; English-only blocks remain LTR. Code is always isolated as LTR. Styling is added through VS Code's supported Development
The package command creates a distributable ContributingBug reports and pull requests are welcome. Please read CONTRIBUTING.md before contributing. For security issues, follow SECURITY.md. LicenseThe extension code is MIT licensed © Sina Tabar. The bundled Noto Sans Arabic font is distributed under the SIL Open Font License 1.1. |

