dinhvuongfx 1 Posted April 1, 2021 Share Posted April 1, 2021 [Windows & Web] When copying code with some line break to Evernote Code Block, it removes all my line breaks. Example: Before [Parameter("Rectangle Color", DefaultValue = "Gray")] public string Rectangle_Color { get; set; } [Parameter("Rectangle Opacity", DefaultValue = 40)] public int Rectangle_Opacity { get; set; } After [Parameter("Rectangle Color", DefaultValue = "Gray")] public string Rectangle_Color { get; set; } [Parameter("Rectangle Opacity", DefaultValue = 40)] public int Rectangle_Opacity { get; set; } Link to comment
0 Mike P 2,247 Posted April 3, 2021 Share Posted April 3, 2021 On 4/1/2021 at 5:20 AM, dinhvuongfx said: When copying code with some line break to Evernote Code Block, it removes all my line breaks. Line spacing seems to be a bit hit and miss and it would be good if it was more consistent. In your case it obviously is respecting the return at the end of the lines containing text. I suspect it depends on exactly where the text has come from and which ctrl characters it contains. You could try looking at it in a text editor (like Notepad++ on Windows) and looking to see what characters are there. Sometimes just copying via a text editor does the trick. For example pasting code from R studio currently works fine and you can see that the characters at the end of each line are the same as in the blank line. Link to comment
0 dinhvuongfx 1 Posted April 10, 2021 Author Share Posted April 10, 2021 On 4/3/2021 at 5:43 PM, Mike P said: Line spacing seems to be a bit hit and miss and it would be good if it was more consistent. In your case it obviously is respecting the return at the end of the lines containing text. I suspect it depends on exactly where the text has come from and which ctrl characters it contains. You could try looking at it in a text editor (like Notepad++ on Windows) and looking to see what characters are there. Sometimes just copying via a text editor does the trick. For example pasting code from R studio currently works fine and you can see that the characters at the end of each line are the same as in the blank line. I tried some editors (notepad, notepad++, sublime text...) but there is still bugs. Very disappointed At this point, Notion does very very well. 1 Link to comment
0 dinhvuongfx 1 Posted April 10, 2021 Author Share Posted April 10, 2021 I think it happens with the New Editor. The Classic Editor (web) keeps line breaks but it even adds 1 more line break. So funny Link to comment
Idea
dinhvuongfx 1
[Windows & Web] When copying code with some line break to Evernote Code Block, it removes all my line breaks.
Example:
Before
[Parameter("Rectangle Color", DefaultValue = "Gray")] public string Rectangle_Color { get; set; } [Parameter("Rectangle Opacity", DefaultValue = 40)] public int Rectangle_Opacity { get; set; }
After
[Parameter("Rectangle Color", DefaultValue = "Gray")] public string Rectangle_Color { get; set; } [Parameter("Rectangle Opacity", DefaultValue = 40)] public int Rectangle_Opacity { get; set; }
Link to comment
3 replies to this idea
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now