                                     console.warn("invalid output message '#{m}' in line '#{line}'")
                                     continue
 
+                                console.log 'output mesg', mesg
                                 output_html = @html_process_output_mesg(mesg, mark)
                                 output_html = @html_embedding_images(output_html)
                                 if output_html?

                            x
                        when MARKERS.output
                            # assume, all cells are evaluated and hence mark.rendered contains the html
                            console.log 'output', mark
                            for mesg_ser in mark.rendered.split(MARKERS.output)
                                if mesg_ser.length == 0
                                    continue

        else if mesg.stderr?
            out = "<div class='output stderr'>#{mesg.stderr}</div>"
        else if mesg.html?
            $html = $("<div>#{mesg.html}</div>")
            @editor.syncdoc.process_html_output($html)
            out = "<div class='output html'>#{$html.html()}</div>"
        else if mesg.md?
