Added support for print preview when markdown pane not shown - Fix issue #10