Content RTL

by Sirwan Afifi
5
4
3
2
1
Score: 50/100

Description

Content-only right-to-left direction for Obsidian notes

Reviews

No reviews yet.

Stats

1
stars
518
downloads
0
forks
96
days
96
days
96
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
1
total issues
0
open issues
1
closed issues
5
commits

Latest Version

3 months ago

Changelog

  • Detects direction independently for every editor line and Reading-view block.
  • Keeps English-only lines LTR.
  • Switches mixed lines to RTL whenever they contain Persian, Arabic, Kurdish, Urdu, or Hebrew script.
  • Detects Live Preview table cells independently.
  • Keeps raw frontmatter, inline code, fenced code blocks, Properties, and interface elements LTR.

Full changelog: https://github.com/SirwanAfifi/content-rtl/compare/1.0.3...1.1.0

README file from

Github

Content RTL

Content RTL detects each content line independently. Lines containing Persian, Arabic, Kurdish, Urdu, or Hebrew script use right-to-left direction, while English-only lines remain left-to-right.

Obsidian's Properties, note footer, sidebars, status bar, and other interface elements remain left-to-right.

Features

  • Automatic per-line direction in Editing view and Live Preview.
  • Automatic per-block direction in Reading view.
  • A mixed line containing Persian or another supported RTL script uses RTL.
  • English-only lines remain LTR.
  • Properties, inline title, note footer, and the rest of the interface remain LTR.
  • Raw frontmatter, inline code, fenced code blocks, and math always stay LTR.
  • Works on desktop and mobile.
  • No network requests, telemetry, accounts, or changes to note files.

Usage

  1. In Settings → Editor, turn off Obsidian's built-in Right-to-left option. That option affects more than note content.
  2. Enable Content RTL under Community plugins.
  3. Open Settings → Content RTL to choose Editing view and Reading view behavior.

Use the command Toggle RTL note content when you want to temporarily switch the plugin's content direction on or off.

Installation

Community plugins

  1. Open Settings → Community plugins → Browse.
  2. Search for Content RTL.
  3. Select Install, then Enable.

Manual installation

  1. Download main.js, manifest.json, and styles.css from the latest GitHub release.
  2. Put them in <vault-config-dir>/plugins/content-rtl/.
  3. Reload Obsidian and enable Content RTL under Community plugins.

Privacy

Content RTL examines visible note text locally to select its display direction. It does not make network requests, collect telemetry, require an account, store note contents, or modify note files. The only stored data is the plugin's own display settings.

Development

npm install
npm run dev

Run all release checks with:

npm run check

License

MIT