When using the markdown code formatting the expectation is that any special formatting characters should be printed verbatim.
For example: composed_file_name.c. Instead, in Anytype, the following happens: composedfilename.c which effectively makes the code block formatting unusable. Likewise a * b * (c + d) become: a b (c + d) or something similar.
Please make the ‘’ syntax for the code formatting the highest priority rule, and final. Or exclude any other formatting inside it, whichever is closer to your implementation.
There is one workaround that I found that works sometimes (which should not be considered as a solution for this bug). It consists of writing the full “code sentence”, then highlight it with the mouse and change its format to “code”. This is less convenient than typing it with the opening ` character, then the sentence, and the closing character.