SYSTEM INFO:
Obsidian version: v1.4.16
Installer version: v1.4.13
Operating system: Windows 10 Pro 10.0.22621
Login status: not logged in
Insider build toggle: off
Live preview: on
Legacy editor: off
Base theme: dark
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
This is essentially the same bug as reported here:
Obviously, you can paste without formatting and convert the text to a list, but I was going to copy in a document that has many lists and sublists split by multiple headings, so it was going to be troublesome to reformat them all.
In the meantime, I’ll find a regex find and replace and remove the extra linebreak.
I believe that double lines happens in Docs 2 Markdown as well.
What worked for me was to copy the markdown to a text editor (I used Kate but any will do) and use Find & Replace (w/ RegEx enabled) to remove double lines:
Find: \n\n Replace: \n
On a related noted, Docs to Markdown has been hit or miss for me, especially for files w/ a lot of images.
I had a file w/ +700 photos in it and so instead of manually pasting each image, I decided to export as .html and then import that into Obsidian which did the trick.
I still had to trim the double spacing fyi, but I was able to rename the file and bulk move all of the pics to my image folder in Obsidian.
The easier way I’ve found to deal with this is to use Shift Cmd V. This doesn’t give me the double line shift issue, which I’m gyesding could be related to different line ending issues.