I’m working on a plugin to retrieve problem content from Sphere Online Judge and display it on a output panel for coding and analyzing the problem at the same time.
Some problems on Sphere Online Judge have images embedded in them and I am facing problems on how to display the image in the panel.
My current panel code is:
self.output_view = self.window.get_output_panel("textarea")
self.window.run_command("show_panel", {"panel": "output.textarea"})
self.output_view.set_read_only(False)
self.output_view.run_command("append", {"characters": msg})
self.output_view.set_read_only(True)
How do I display an Image in the panel?