By default DEVONthink 3 adds additional elements when pasting markdown. We can disable this by using the below command which will enable raw markdown pasting.
Default markdown pasting will produce the below output.
By enabling raw markdown pasting, we get the below as expected.