Why is Google AI studio giving the code in wrong format

I’m telling the AI to give me code for my app, it is constantly, CONSTANTLY, giving me the code out of canvas, just plain text format with " ** " in front. First time this happened was a week ago, then I just quit, now I came back and told it to give me the code again, but gave me same in wrong format. I started a new chat, from blank and same error, same plaintext code.

and now the list reply is starting with " ### " then under list description they start with " * ** "

Is this intentional where the Devs ruined up something or whats going on? this is getting frustrating af. first I get nonstop invalid errors and I have to hard refresh for the damn AI to not give me error “Permission denied” a few times and on top of that the code is generated in wrong format…

I know beggers can’t be choosers, but come the .. on already…

advice what to do, I’m using Gemini 3 Flash Preview