Selection Format Toolbar

approved

by Avinash

Shows a floating formatting toolbar when you select text: bold, italic, headings 1-6, and multi-color highlighting. - This plugin has not been manually reviewed by Obsidian staff.

358 downloadsUpdated 1mo agoMIT

Selection Format Toolbar

An Obsidian plugin that shows a floating formatting toolbar whenever you select text in the editor — no keyboard shortcuts or menus needed.

Features

Select any text (with the mouse or Shift+arrow keys) and a toolbar pops up above the selection with:

  • Bold and Italic toggles
  • H1–H6 — set the heading level of the selected line(s); click the same level again to remove the heading
  • Highlight colors — six color swatches (yellow, green, blue, pink, orange, purple) that wrap the selection in a colored highlight, plus a ✕ button to remove it
  • The text stays selected after each action, so you can chain formats (e.g. bold + highlight)
  • Press Escape, scroll, or click elsewhere to dismiss the toolbar

Highlights use inline <mark> tags, so the colors render in both Live Preview and Reading mode.

Installation

From the community plugin directory

  1. Open Settings → Community plugins in Obsidian
  2. Click Browse and search for "Selection Format Toolbar"
  3. Install and enable it

With BRAT (beta)

  1. Install the BRAT plugin
  2. Add avinashingit/selection-format-toolbar as a beta plugin

Manual

  1. Download main.js, manifest.json, and styles.css from the latest release
  2. Copy them into YourVault/.obsidian/plugins/selection-format-toolbar/
  3. Reload Obsidian and enable the plugin in Settings → Community plugins

Usage

  1. Select some text in any note (source mode or Live Preview)
  2. Click a button on the toolbar that appears:
    • B / I toggle bold and italic
    • H1H6 set or clear the heading level
    • Color dots apply a highlight in that color; removes the highlight

License

MIT

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.