Embedding source code and output side-by-side as HTML for Google sites

I am trying to write a simple source code to plot a sinusoid as shown:

This file cannot be displayed: https://storage.googleapis.com/replit/images/1531987728131_01acd00dbfb6597969f3fb455ddc384a.pn

When I click Share--> Copy and past the HTML code on google sites, the output and source code are no longer aligned like in this figure. I only get the source code and python terminal underneath it.

This file cannot be displayed: https://storage.googleapis.com/replit/images/1531987808837_66e9f9b7084937ee6fb4201124bef3e0.pn

How can I fix this?

You are viewing a single comment. View All

+1, could the layout options be configurable through url params?