When copying a chunk of text that contains rich text formatting and pasting into most apps, the rich text formatting is preserved. When pasting the same chunk into Obsidian, the rich text formatting seems to be converted into HTML tags by default. Because Obsidian uses markdown, I think it would be more useful to have it converted to markdown by default (or at least given the option).
If that’s not clear, then I hope the following is helpful.
When pasting text into Google Docs, Text Edit, etc. I get an output like this:
James Clear. Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones. New York, NY: Avery, 2018.
The exact same clipboard entry produces this in Obsidan:
James Clear. <i>Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones</i>. New York, NY: Avery, 2018.
What I’m saying is that I wish it would instead produce this:
James Clear. _Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones._ New York, NY: Avery, 2018.
Because it always helps to just show something whenever possible, I recorded a quick demonstration of what I’m talking about in 30 seconds. In it, I simply paste a chunk of text containing italics and an ampersand into Obsidian, Google Docs, and Text Edit to compare the outputs.
That said, there are some weird things I’ve noticed while exploring this. If I paste into Google Docs or Text Edit, copy what I just pasted from either of those apps, and then paste that into Obsidian, I get this:
James Clear. Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones. New York, NY: Avery, 2018.
I’d actually prefer this plaintext output over the HTML output, but markdown output would still be my top choice.
So, maybe all of this is actually a bug? Or maybe it’s partly a feature request and partly a bug? Most (but not all) other apps seem to preserve formatting, so if it’s a bug then I don’t think it’s another program’s bug – but of course, I’m not a programmer. I’m just trying to make sure I include all the information you might want.
One more odd thing worth mentioning is that the behavior I’m talking about doesn’t seem entirely consistent. When I copy directly from Zotero (instead of from Zotero by way of ZotHero), it outputs the plaintext formatting in Obsidian. But it still outputs the desired rich text formatting in Google Docs and Text Edit. As far as I can tell, ZotHero itself is just copying from Zotero, so this is all quite mysterious to me. What is consistent is that other programs seem to always paste what I want, but Obsidian never pastes the markdown I want.
In any case, I hope I’ve made the desired behavior clear and done a good job of scouting this out. Thank you for considering.