When pasting content into a Code Snippet, extra blank lines appear after each newline character

WHAT IS THE BUG

When I paste the following into the Code Snippet block, he will automatically add another line break to me after each newline character, and a space will appear between the two lines on the display

HOW TO REPRODUCE IT

  1. Enter /code to create a Code Snippet block
  2. copy code
select id,
       name,
       age
from table;
  1. paste code to block
  2. ᅟSee an error
    image

ADDITIONAL CONTEXT

SYSTEM INFORMATION

Windows

  • OS:
    Windows11
  • Anytype Version:
    Version: 0.34.3

This report has been added to our issue tracker and received by the Development Team.

3 Likes

I also have the same problem.

SYSTEM INFORMATION

Windows

  • OS:
    Windows 10
  • Anytype Version:
    Version: 0.35.4
2 Likes

Yeah i’m also still getting this.

I’m trying to undertake a task of migrating some of my snippets across to Anytype (to make it easier to access anywhere and removing one more tool).

But this issue is making that migration difficult.

Also difficult is the fonts available are huge and there is no numbered line