I’ve just noticed this issue, and couldn’t see any other mentions of it.
When pasting Markdown content that contains code blocks, whether fenced or inline, the asterisks get stripped out. This is an issue because the asterisks can be meaningful parts of the code, so it’s easy to miss that crucial information is being lost.
Here’s an example, with the Notion source on the top and the result of pasting into Anytype below:
I’ve just realized that this isn’t strictly a pasting issue. Inline code blocks seemingly cannot contain things like def __init__ (although fenced code blocks are fine). I think the expected behavior would be that characters within code blocks are not interpreted as special/formatting characters.
Hey @triangles, I checked this with the content of your notion page. Everything I pasted into an Anytype code block seemed to preverse all characters. So I would say that this was fixed.
Would you check it on your side?
This is still a bug. In general asterisk characters are not handled correctly in text. You cannot have two asterisks in the same text as they disappear.
This is reproducible in the newest version 0.25.4 on Mac.
Steps to reproduce:
Copy the following text:
This is the address 192.168..
What I cannot type is two asterisk in the same text.
Maybe a new line this is the way?
Paste into Anytype page.
Expected result: Asterisks are in the text
Actual result: Asterisks disappear