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

Center Text

camblackwellcamblackwell70 downloads

Center all text in your notes with adjustable width.

Add to Obsidian
  • Overview
  • Scorecard
  • Updates2

A simple Obsidian plugin that centers all text in your notes and lets you control how wide the text column is.

Features

  • Toggle text centering on and off
  • Slider to control the maximum text width (20–100%)
  • Works in both reading view and live preview
  • Settings persist across restarts

Installation

  1. Copy the plugin folder into your vault at .obsidian/plugins/center-text/
  2. Run npm install then npm run build to compile
  3. In Obsidian go to Settings → Community plugins and enable Center text

Usage

There are three ways to toggle centering:

Method How
Ribbon icon Select the align-center icon in the left sidebar
Command palette Ctrl/Cmd+P → "Toggle"
Settings Settings → Center text → flip the switch

To adjust the text width, go to Settings → Center text and drag the Maximum text width slider.

Hotkeys

No default hotkeys are set to avoid conflicts. You can assign your own in Settings → Hotkeys by searching for "center":

  • Toggle
  • Increase text width
  • Decrease text width

Development

npm install       # install dependencies
npm run dev       # watch mode — rebuilds on save
npm run build     # one-off production build
82%
HealthExcellent
ReviewSatisfactory
About
Center text in notes and set a maximum column width with a 20–100% slider. Toggle centering on or off and apply it in both reading view and live preview, with settings that persist across restarts.
AppearanceCSSCommands
Details
Current version
1.0.1
Last updated
2 months ago
Created
2 months ago
Updates
2 releases
Downloads
70
Compatible with
Obsidian 0.15.0+
Platforms
Desktop only
License
0BSD
Report bugRequest featureReport plugin
Author
camblackwellcamblackwell
github.com/CamBlackwell
GitHubcamblackwell
  1. Community
  2. Plugins
  3. Appearance
  4. Center Text

Related plugins

Style Settings

Adjust theme, plugin, and snippet CSS variables.

Lapel

Show the heading levels in the gutter of the editor.

Note Toolbar

Add customizable toolbars to your notes.

Snippetor

Create and tweak common snippets.

Show Whitespace

CSS styles and CM6 extensions to highlight whitespace in Source and Live Preview modes.

Contextual Typography

Add a data-tag-name attribute to all top-level divs in preview mode containing the child's tag name, allowing contextual typography styling.

Focus Mode

Add a toggle to hide interface elements so you can focus on your note.

UI Tweaker

Add, hide, or modify various interface elements.

Minimal Theme Settings

Control the colors and fonts in Minimal Theme.

Hider

Hide interface elements such as tooltips, status bar, titlebar, and more.