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

Alignment

kool-ankit-rajkool-ankit-raj95 downloads

Align Text to Center or Right.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates1

A lightweight and intuitive plugin for Obsidian that allows you to align your text to the Center, Right, or Justify with just a few clicks. This plugin helps you style your notes by wrapping selected text in HTML div containers.

✨ Features

  • Context Menu Integration: Right-click any selection to access the "Align" menu.
  • Command Palette: Quickly trigger alignment using commands (Center, Right, Justify, or Reset).
  • Justify Support: Toggle "Justify" alignment on or off in the plugin settings to keep your menus clean.
  • Easy Reset: A "Reset Align" option to instantly remove alignment tags and restore your text.

🚀 How to Use

  1. Select the text or paragraph you want to align.
  2. Right-click the selection.
  3. Choose Align and pick your desired position (Center, Right, or Justify).
  4. To remove alignment, select Reset Align from the same menu.

⚙️ Settings

  • Enable Justify: Toggle this in the settings tab to add "Justify" to your alignment options.

🎨 CSS Classes

The plugin applies the following classes which can be further customized in your snippets:

  • .align-center
  • .align-right
  • .align-justify

🛠 Installation

Community Plugins (Coming Soon)

Search for "Alignment" in the Obsidian Community Plugins browser once the PR is approved.

Manual Installation

  1. Download main.js, manifest.json, and styles.css from the latest release.
  2. Inside your Obsidian vault, go to .obsidian/plugins/ and create a folder named alignment.
  3. Place the three files inside that folder.
  4. Go to Settings > Community Plugins and enable Alignment.

[!INFO] Vibe Coded with Gemini ✨
This plugin was built with the help of AI to ensure the code is clean, functional, and ready to help the Obsidian community. I wanted to be honest about the process—helping others is the goal!

88%
HealthExcellent
ReviewSatisfactory
About
Align selected text to Center, Right, or Justify using the context menu or command palette, wrapping selections in lightweight HTML divs for styling. Reset alignment instantly and target styles with the provided CSS classes (.align-center, .align-right, .align-justify).
FormattingCSS
Details
Current version
1.0.0
Last updated
4 weeks ago
Created
4 weeks ago
Updates
1 release
Downloads
95
Compatible with
Obsidian 0.12.8+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
kool-ankit-rajkool-ankit-raj
github.com/Kool-Ankit-Raj/
GitHubkool-ankit-raj
  1. Community
  2. Plugins
  3. Formatting
  4. Alignment

Related plugins

Admonition

Admonition block-styled content.

Blur

Create obfuscated blocks of text.

Columns

Create columns in Markdown.

Highlightr

A minimal and aesthetically pleasing highlighting menu that makes color-coded highlighting much easier with a configurable assortment of highlight colors.

Better Bullets

Improves readability of bulleted notes.

Regex Mark

Add custom CSS classes to text based on regular expressions.

Hyphenation

Enable justified text and hyphenation.

Inline spoilers

Adds Discord-like syntax for inline spoilers in reader mode.

Style Settings

Adjust theme, plugin, and snippet CSS variables.

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.