Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Arabic Poetry Formatter

HayyanHayyan60 downloads

Format selected Arabic poetry into paired or indented hemistich layouts.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates3

An Obsidian plugin that formats selected Arabic poetry into two classic layouts. It provides fine-grained control over spacing and alignment so verses remain readable in your notes.

Features

  • Two formatting modes:

    1. Paired format: Aligns the two hemistiches (shatr) of a verse (bayt) on a single line, separated by a visually balanced central gap.
    2. Indented format: Places the second hemistich on a new line, indented to align with the end of the first.
  • Smart alignment: Uses a combination of character counting and visual width estimation to create clean alignment for proportional Arabic fonts.

  • Full customization:

    • Independently set the gap width for paired and indented modes.
    • Choose a default action for the ribbon icon to match your preferred workflow.
  • Multiple ways to use: Access the formatters through the command palette, the right-click context menu, or the customizable ribbon icon.

How to use

  1. Select text: In the editor, highlight the lines of Arabic poetry you want to format. The plugin expects each hemistich to be on its own line.

  2. Choose a formatter:

    • Command palette: Press Ctrl/Cmd + P and search for Format Arabic poetry (paired) or Format Arabic poetry (indented).
    • Right-click menu: Right-click on your selected text and choose the desired format from the context menu.
    • Ribbon icon: Click the pencil icon in the left sidebar to apply your configured default format.

Example

Original text:

واحر قلباه ممن قلبه شبم
ومن بجسمي وحالي عنده سقم
مالي أكتم حبا قد برى جسدي
وتدعي حب سيف الدولة الأمم

Paired format output:

واحر قلباه ممن قلبه شبم          ومن بجسمي وحالي عنده سقم
مالي أكتم حبا قد برى جسدي       وتدعي حب سيف الدولة الأمم

Indented format output:

واحر قلباه ممن قلبه شبم
                         ومن بجسمي وحالي عنده سقم
مالي أكتم حبا قد برى جسدي
                            وتدعي حب سيف الدولة الأمم

Configuration

You can customize the plugin's behavior by going to Settings -> Community plugins -> Arabic Poetry Formatter.

  • Ribbon icon action: Use the dropdown to select which action (Format paired or Format indented) is performed when you click the ribbon icon.
  • Paired format gap width: Use the slider to control the size of the central gap between hemistiches in the paired format.
  • Indented format indent width: Use the slider to control the number of extra spaces used to indent the second hemistich in the indented format.

Privacy

Arabic Poetry Formatter works entirely inside Obsidian. It does not use the network, collect telemetry, show ads, require accounts or payments, or access files outside your vault.

Installation

  1. Install the plugin via the Obsidian community plugins browser.
  2. Enable the plugin in your settings.
  3. Configure the settings if you want to change the default format or spacing.

License

This plugin is released under the MIT License. See the LICENSE file for more details.

HealthExcellent
ReviewPassed
About
Format Arabic poetry into classic paired or indented layouts that align hemistiches for readable verse. Control spacing and use smart alignment that combines character counts and visual-width estimation for proportional Arabic fonts. Access formats from the command palette, context menu, or ribbon.
FormattingLanguagesRTL
Details
Current version
1.1.2
Last updated
2 days ago
Created
10 months ago
Updates
3 releases
Downloads
60
Compatible with
Obsidian 1.4.0+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Sponsor
Buy Me a Coffee
Author
HayyanHayyanhayyans
hayyans.com
GitHubhayyan0
XHayyanCodes
  1. Community
  2. Plugins
  3. Formatting
  4. Arabic Poetry Formatter

Related plugins

Easy Typing

Auto format when typing.

RTL Support

Right-to-left (RTL) text direction support for languages like Arabic, Hebrew, and Farsi.

Jisage

Display 'Jisage' (indenting with a full-width space at the beginning of a line) text correctly.

Linter

Format and style your notes. Linter can be used to format YAML tags, aliases, arrays, and metadata; footnotes; headings; spacing; math blocks; regular Markdown contents like list, italics, and bold styles; and more with the use of custom rule options.

Simplified Chinese Word Splitting

Adds Simplified Chinese word splitting support for the editor and Vim mode.

Admonition

Admonition block-styled content.

LanguageTool

Unofficial integration of the LanguageTool spell and grammar checker.

Colored Text

Color the selected texts.

Blur

Create obfuscated blocks of text.

List Callouts

Create simple callouts in lists.