eth-p / obsidian-callout-manager

An Obsidian.md plugin that makes creating and configuring callouts easy.
MIT License
143 stars 9 forks source link

feature request: place selection inside callout #24

Open nathanielvirgo opened 3 months ago

nathanielvirgo commented 3 months ago

Often, I write several paragraphs of text and then decide they belong inside a callout.

Currently, it's somewhat fiddly to achieve this - you have to copy the text, then insert the callout using Callout Manager, then delete the word "Content" that it inserts, then hit paste. This puts the first paragraph inside the callout, and you then have to manually insert > characters to place the other paragraphs inside it as well.

I propose a simple solution to this: If there is any text selected when a callout is inserted from the 'manage callouts' dialog, place that text inside the callout instead of the word "Content".

An alternative would be to put the clipboard contents inside the callout instead. But that behaviour wouldn't always be desired, so it would need a separate button - the selected text approach seems cleaner.

sudonem commented 1 month ago

You might be interested in another plugin specifically designed to do this.

Obsidian Callout-Integrator