Feature Request: export code to GitHub, Replit, etc

The title of this feature request says it all. I would like to easily go from code that was generated using advanced data analysis to running that code elsewhere.

For instance, I can export this conversation. That allows someone with the link to read the transcript, but they can’t run the code. I want to be able to easily share working code.

It would be great if the shared chat images worked, too.

I upgraded plans, which breaks published URLs. That’s a separate issue.
The updated URL for the conversation I originally posted is https://chat.openai.com/share/e/dfb54e57-11c3-46f0-b0e3-849b8be3778a