Code comes back as code
Ask for code as an artifact and you get the code file itself, not a PDF about it.
Asking an AI to turn code into an artifact used to give you a PDF that described the code. Now you get the code.
What you get
One file comes back as that file, such as index.html or main.py. Several files come back together as a ZIP. Each one is kept in Artifacts like any other file.
Reading it
A card for the file appears under the reply. Press it to read the code, copy it or download it. A ZIP card downloads the archive.
You can still ask for a PDF or a Markdown file of code when you want one. Say which format, like "make a PDF of this code".