Otto27 downloadsFormat and transform selected Markdown from a floating toolbar and bindable commands.
Selection Toolbar adds a compact floating toolbar to Obsidian whenever text is selected in the Markdown editor. Use it to format Markdown, convert selected lines into blocks or lists, and extract selected text into a new note without breaking your writing flow.
Select text in a Markdown note. The toolbar appears near the selection with quick actions:
The ... menu contains block, callout, case conversion, and extract-to-note actions.
All actions are registered as Obsidian commands so they can be assigned keyboard shortcuts in Settings -> Hotkeys.
Selection Toolbar uses standard Markdown where possible.
<u>selected text</u>.==selected text==.%%selected text%%.> [!note].For selections with blank lines, inline wrappers are applied to each paragraph-like block instead of wrapping the whole selection once.
After the plugin is published to the Obsidian community plugin directory:
Download the release assets and place them in your vault at:
<Vault>/.obsidian/plugins/selection-toolbar/
Required files:
main.jsmanifest.jsonstyles.cssReload Obsidian and enable Selection Toolbar in Settings -> Community plugins.
This plugin uses TypeScript, npm, and esbuild.
npm install
npm run dev
Production build:
npm run build
Lint:
npm run lint
version in manifest.json.versions.json with the plugin version and minimum Obsidian version.npm run build.v.manifest.json, main.js, and styles.css as release assets.Selection Toolbar works locally inside Obsidian. It does not make network requests, collect analytics, transmit vault content, or use external services.
The extract-to-note action creates Markdown files inside your vault only when you explicitly run that action.
1.1.0This project is licensed under the 0BSD license.