Iframe it? What sort of pane/window/etc should I add to view it. Ideally, it could be in a window that’s resizeable and that I can look at while also looking at the code.
You mean like a browser? If so, there is a long discussion of that kind of idea here: