When pasting the code from an embedded code block into an Assistant query, the block renders after the query is submitted. I would expect the code to display as inputted (which in my case was raw text — I am unsure what happens if the code block is lengthy and auto-attaches as a file).
I can't provide an example as this would involve sharing identifying information, but can share the thread with Kagi's team privately.