Fazel Majidfar73 downloadsUse RTL whenever text contains a Persian word; preserve LTR Latin tokens, symbols, and code, including Persian comments, properties, titles, and file names.
This plugin automatically detects Persian/Arabic content and adjusts the text direction (RTL) for paragraphs, headings, properties, and list items. It ensures your mixed-language documents look professional without adding hidden characters.

$, !, ^).text, txt, plain, and plaintext code fences.The plugin handles mixed-language content seamlessly:
Unity و Git را Install کنید.
// _enemyCount همیشه باید کمتر از 10 تا باشد.
شرط !Enemy را چک کنید.
Unity را نصب کنید.
Install this plugin directly via the Obsidian Community Plugins browser:
The plugin scans blocks for Persian/Arabic characters. If found, it forces an RTL layout. It treats list items individually and respects explicitly defined HTML directions.
Use the "Refresh Persian text direction" command from the Command Palette if you need to force an immediate update.
This plugin ships directly as main.js, styles.css, and manifest.json; no build step is required.
Run the text direction regression checks with node --test tests/direction.test.cjs.
With the local plugin installed and enabled in an open vault, run node tests/run-obsidian.cjs "Vault name" to check DOM layout and CodeMirror letter order. These checks use disposable offscreen elements, preserve note contents and focus, and take no screenshots.