Center Text

by camblackwell
5
4
3
2
1
Score: 35/100

Description

This plugin has not been manually reviewed by Obsidian staff. Center all text in your notes with adjustable width.

Reviews

No reviews yet.

Stats

stars
27
downloads
0
forks
1
days
NaN
days
NaN
days
0
total PRs
0
open PRs
0
closed PRs
0
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

Invalid date

Changelog

README file from

Github

Center Text — Obsidian Plugin

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