What’s The Bug?
The docs here: mentions
``` | Create a code block
How To Reproduce It
Type <```> vs <``` and Space> in Anytype.
The Expected Behavior
``` and Space | Create a code block
Additional Context
While here, I noticed this:
In general the markdown-docs page should strictly use <whatever_symbol and Space>
Currently it is <whatever_symbol + Space>, except for * or + or - and Space | Create a bulleted list where + has a different meaning.
Although one can make out, this could be improved too.
There doesn’t seem to be a Documentation tag/section.
Device
Windows 11
OS
Windows 11
Anytype Version
0.39.0
Alan71
March 12, 2024, 2:26pm
2
I’m fine with the current behavior, works the same as bullet points, although I believe ``` + should create a code block also.
Bonus point if ```<language> was supported
Filip
April 5, 2024, 11:16am
3
But ``` + space does create a code block?
Alan71
April 5, 2024, 11:29am
5
It works fine, what OP means is that documentation in unclear regarding the space character needed to trigger the code block representation.
Adding <space> or ⍽ could make things clearer.
Additional resource: Whitespace character - Wikipedia
Filip
April 5, 2024, 11:31am
6
I just re-checked, and for some reason space is not mentioned in the last three entries. And for some reason, I didn’t notice that.
Angelo
April 5, 2024, 11:32am
8
This report has been added to our issue tracker and received by the Development Team.
Angelo
April 21, 2024, 12:58pm
9
This issue has been fixed by the Development Team and will be implemented in an upcoming release.