Hi all,
I often need to copy markdown text (typically from Obsidian) from my desktop and paste it on my phone using the Universal Clipboard, but the pasted text loses all line breaks.
If I show the clipboard in Terminal with pbpaste, the line breaks are shown correctly, but if I paste on my iPhone they are gone. I tried to replace \n with \r and \r\n in the clipboard, to no avail. I also tried to covert to RTF using @vitor's MarkdownTransform, but I still lose the line breaks.
A suboptimal workaround is to first paste the text in a rich-text format app, then copy it from there, but that introduces an extra line break.
Does anybody else have the same issue? I was hoping to create a Universal Action to copy text for the purpose of pasting it via Universal Clipboard while preserving the line breaks.