Typora is doing live rendering and supports this feature. 2 line-breaks are rendered as one and one line-break is completely ignored.
Obsidian, on the other hand, only respects this when you turn it on in the preferences and only in the preview mode.
A possible solution might be to add a context menu entry "copy with strict line breaks", which doubles each line break before saving it into your clipboard.