Pasting markdown code is inserting empty lines

Describe the bug
When pasting a code block from VS Code into Anytype, the code block is recognized, but unwanted empty lines are inserted.

To Reproduce
Steps to reproduce the behavior:

  1. Open VS Code and save the file as markdown file
  2. type something like
    image
  3. Copy the lines and paste into Anytype

Expected behavior
No having empty lines.

System Information:

  • OS: Linux
  • Anytype Version: 0.25.4
1 Like