Paste multiple paragraphs into block quote

Use case or problem

I copy a bunch of text to the clipboard that I want to paste into Obsidian as a blockquote.

Proposed solution

What I intuitively do is type a single > at the beginning of the line to enter block quote mode, then I hit ⌘V to paste. This works if my selection is a single paragraph. But for multiple paragraphs, the first paragraph break in the pasted text exits the block quote.

It would be nice of Obsidian to recognize my intent and paste all the text as blockquote. I don’t think the intention is ambiguous, because “pasting the first paragraph into the blockquote then pasting the remaining paragraphs as plain text” is not a very sensible use case.

Current workaround (optional)

After pasting the block, select all pasted text inside Obsidian and use a command or shortcut to Toggle blockquote. Or write a Paste as blockquote plugin (maybe someone already has). Both of which are less intuitive and slower.

7 Likes

I’m using the same workaround as you did, and I didn’t find any plugins that can detect if my cursor is in a quote block so it would paste the text as a blockquote.

Hopefully it can be a integrated function.

2 Likes

Would appreciate this, especially if it were to support the quote having its own nested quotes. Oftentimes I’ll quote an excerpt from an article which has inline quotes of its own.

2 Likes

Hi @gkertai , I’ll jump in here too and REQUEST THIS FEATURE too (emphasising the point, not shouting). A very useful feature for useability. I paste a bunch of paragraphs, rather than blockquotes, but the principle is the same.

Background: I’d already searched around to see if the feature exists at all:

Pasting text into one bullet point entirely, not just first paragraph - Help - Obsidian Forum

Have you seen the ad-on listed at Possible to copy and paste text into the last bullet point? - Resolved help - Obsidian Forum by @HernanV ?

I’ve tried it and it works perfectly, hopefully one day the feature will be built in!


GitHub - jglev/obsidian-paste-to-current-indentation: Obsidian Notes plugin… 9