camblackwell70 downloadsCenter all text in your notes with adjustable width.
A simple Obsidian plugin that centers all text in your notes and lets you control how wide the text column is.
.obsidian/plugins/center-text/npm install then npm run build to compileThere 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.
No default hotkeys are set to avoid conflicts. You can assign your own in Settings → Hotkeys by searching for "center":
npm install # install dependencies
npm run dev # watch mode — rebuilds on save
npm run build # one-off production build