# Align RTL for Raycast

URL: https://www.raycast.com/jberrebi/align-rtl

> Paste Hebrew or Arabic text as right-aligned RTL rich text in Mail, Notion, Slack and other editors that keep paragraphs left-aligned.

- Install: raycast://extensions/jberrebi/align-rtl
- Author: [Jeremie Berrebi](https://www.raycast.com/jberrebi)
- Installs: 15
- Platforms: macOS
- Categories: Productivity
- Updated: 2026-11-16
- Source: https://github.com/raycast/extensions/tree/3627d9b15ba4506ca8c8ac9d93c4585c5d2ec7ae/extensions/align-rtl/

## Commands

- **Align RTL**: Paste selected text or clipboard content with a rich HTML RTL payload for paragraph-level right alignment.

## README

### Align RTL

Paste selected text as right-aligned rich RTL content.

Align RTL creates an HTML clipboard payload with `dir="rtl"`, `direction: rtl`, and `text-align: right`, then pastes it into the active application. This helps in rich-text editors that display Hebrew or Arabic text correctly but keep the paragraph aligned to the left.

Unlike a plain Raycast Snippet, Align RTL can paste rich HTML markup so editors such as Mail, Notion, and Slack can preserve paragraph-level right alignment when they accept rich clipboard content. A plain-text Unicode RTL fallback is included for apps that do not accept HTML clipboard data.

#### Command

- `Align RTL`: Reads the selected text, or falls back to the clipboard, and pastes it as right-aligned RTL content using a rich HTML clipboard payload.

#### Development

```bash
npm install
npm run dev
```

#### Build

```bash
npm run lint
npm run build
```
