Extensions should be able to create a new panel/document and open it in the editor, much like how markdown preview does.