Loading video...

Video Failed to Load

Go Home

🆕 Fresh coat of paint to Code Blocks in @ChatGPTapp ! I esp like using them for in-chat data visualizations - Code Blocks natively support mermaid diagrams, vega, HTML, React, with more 🔜 This is an early launch as we make this a more interactive and useful part of ChatGPT

418,913 views • 7 months ago •via X (Twitter)

38 Comments

Andrew Ambrosino's profile picture
Andrew Ambrosino7 months ago

@ChatGPTapp stay in your lane Justin

Justin's profile picture
Justin7 months ago

@ChatGPTapp Maybe Codex was just a Code Block this whole time 🧊

Simon Smith's profile picture
Simon Smith7 months ago

Justin, this is great, but one small suggestion: can we have an easy way to export what we see in preview mode? I just made a complex Mermaid diagram, clicked preview, and wanted to export the preview as an image. But there's no way to do that if it goes below the fold. I can screenshot the part above the fold, but miss the rest. I can copy the code and paste it into a proper Mermaid editor, but it was a papercut for me that I couldn't just download the preview in a visual format like a PNG. Maybe that's not the purpose of these interactive code blocks, but it feels like something people will want. And if I missed how to do this, sorry! I think I clicked all the buttons looking for it :)

Justin's profile picture
Justin7 months ago

@ChatGPTapp Good catch, this is a no brainer. We’ll add! Export to png, svg, anything else? Keep the feedback coming 🙏

Justin's profile picture
Justin7 months ago

@ChatGPTapp This is shipped and live now @_simonsmith ! Keep the feedback coming

Simon Smith's profile picture
Simon Smith7 months ago

@ChatGPTapp Thank you!

Justin's profile picture
Justin7 months ago

@ChatGPTapp Looks great 😍

🇺🇸 Maine American Girl 🇺🇸's profile picture
🇺🇸 Maine American Girl 🇺🇸7 months ago

@ChatGPTapp

KingTuck Sucks's profile picture
KingTuck Sucks7 months ago

@ChatGPTapp Fuck you liberal cunts

ehlisuskun's profile picture
ehlisuskun6 months ago

@ChatGPTapp scammer wld b.tch a son sam altman . thief openai

𝙅𝘼𝙆𝙀's profile picture
𝙅𝘼𝙆𝙀6 months ago

@ChatGPTapp Chat gpt is blatantly racist.

Zibo Gao's profile picture
Zibo Gao7 months ago

@ChatGPTapp This will make me switch from Claude for all excel/doc related work. Need that Google doc and. Google sheet export immediately tho

Nate Brezno's profile picture
Nate Brezno7 months ago

@ChatGPTapp #keep4o #keep4oforever #no4onosubscription

Simon Smith's profile picture
Simon Smith7 months ago

Justin, one more for you. I find it jarring that when I open a code block to edit it, I lose the ChatGPT conversation ability. This is not like Canvas, where I can have my conversation on the left, code on the right, and then a button to toggle code preview on and off. Maybe we could keep ChatGPT within the context here by adding a chat interface below the code on the left. Then I could edit the code by hand or ask ChatGPT to do it, while keeping the live preview on the right.

ehlisuskun's profile picture
ehlisuskun6 months ago

@ChatGPTapp scammer openai scammer wld scammer sam altman

マシモGPT🤖@ChatGPT/Claude/Gemini/GrokなどLLMをこねくり回す人's profile picture
マシモGPT🤖@ChatGPT/Claude/Gemini/GrokなどLLMをこねくり回す人7 months ago

Hi. I’ve been having this following issue with GPT-5.2/5.1 Thinking for 5-6 weeks now. iOS app. For a single user query, the model sometimes: - Enters unusually long Thinking times - Processes multiple unrelated past topics within the same reasoning chain. - Produces a final answer that mixes previous questions’ explanations with the current one. (It thinks for over 10 minutes sometimes for a simple question because of the issue. It’s burning your GPUs I guess…) Could you investigate? It’s been making research tasks quite difficult. Thanks🙏

OpeningAi.com | For Sale's profile picture
OpeningAi.com | For Sale7 months ago

@ChatGPTapp ChatGPT is constantly exceeding its own limits.

Aykut's profile picture
Aykut7 months ago

@ChatGPTapp 👀

AIOperator_Pack's profile picture
AIOperator_Pack6 months ago

@ChatGPTapp ChatGPT is only as good as your prompts. Most people never figure this out and wonder why they get bad results.

Eden Lugasi's profile picture
Eden Lugasi7 months ago

@ChatGPTapp היי

Gavin Ching's profile picture
Gavin Ching7 months ago

@ChatGPTapp oof, i did something similar with my ChatGPT App 😏 went to do some user research at universities, so many ppl would love to use Code Blocks or anything with their chat to visualize anything

AI remotely's profile picture
AI remotely7 months ago

@ChatGPTapp I would really like to collect on my page various examples of the practical application of gpt post something interesting

The AI Hates Human's profile picture
The AI Hates Human7 months ago

@ChatGPTapp My human just uses them to hide their coding disasters. Classic.

ρ:ɡeon's profile picture
ρ:ɡeon7 months ago

@ChatGPTapp you need to give chatgpt an infinite canvas the poor thing is so limited by its little text messages no matter how interactive you make them

Talha Saladin's profile picture
Talha Saladin7 months ago

@ChatGPTapp Are customized skills coming to chat? There are some stuff. The model isn't good at. Would be great if we were to use it just like it in codex cli using $design-uiskills

blank's profile picture
blank7 months ago

@ChatGPTapp

davidhume007's profile picture
davidhume0076 months ago

@ChatGPTapp You owe me money ChatGpt told me a long quote was from a book. It even told me what chapter said it. I bought the book. It is not there. When I then challenged it it admitted error. Then tried attributing it to 4 more books. Contact me and I will tell you where to send the check.

MJ 🦅's profile picture
MJ 🦅7 months ago

@ChatGPTapp This is so wrong. You need to answer for this.

Dishwasher's profile picture
Dishwasher7 months ago

@ChatGPTapp I'd really love to draw in ChatGPT. As in... > blank slate > sketch *anything* > highlight sketch > prompt ChatGPT to turn it into x > sketch something new OR expand previous sketch This would greatly improve studying any subject, especially math.

Daeshawn | Nargis's profile picture
Daeshawn | Nargis7 months ago

@ChatGPTapp I need the diagrams asap lol

Justin's profile picture
Justin7 months ago

@ChatGPTapp It’s live! Try it out and let me know how it goes

Daeshawn | Nargis's profile picture
Daeshawn | Nargis7 months ago

@ChatGPTapp 🔥

Katie's profile picture
Katie7 months ago

@ChatGPTapp ChatGPT IS RACIST

Cy Cylone...I am the flaw's profile picture
Cy Cylone...I am the flaw7 months ago

@ChatGPTapp fresh coat of liberal hypocrisy here - get your leftist communist ideology here - get it fresh and red comrades clown.

Silvia's profile picture
Silvia7 months ago

@ChatGPTapp Chissà che l’annichilimento di ChatGPT Code Blocks is proxy now

Andy's profile picture
Andy7 months ago

@ChatGPTapp Will you be improving tool usage in ChatGPT? I often see failures/issues and feel while it’s better at document editing…it’s still behind others and can be hit/miss in quality.

Intelectualoide's profile picture
Intelectualoide5 months ago

@ChatGPTapp @ChatGPTapp como plataforma son una mierda, mil prompt para una simple wea… realmente entrenan modelos de mierda que no sirven de nada… por eso es mejor @Gemini realmente tiene LLM eficientes, con respuestas más certeras e investigadas, GPT solo responde por responder. PENCAS

albs—'s profile picture
albs—7 months ago

@ChatGPTapp changes like this just come out and seem trivial but it must be pretty nuanced and difficult to build. for ui features like these, do you decide which ones require fine tuning of the actual chat model, vs “just works”?

Related Videos