 
         return uuid
 
-    interact: (output, desc) =>
+    interact: (output, desc, mark) =>
         # Create and insert DOM objects corresponding to this interact
         elt = $("<div class='sagews-output-interact'>")
         interact_elt = $("<span>")

async = require('async')

{ MARKERS, FLAGS, ACTION_FLAGS } = require('diffsync')

{SynchronizedDocument} = require('./syncdoc')


                     cb()
             ])
            )()

        if mesg.show?
            if opts.mark?
                line = opts.mark.find()?.from.line
                if line?
                    cell = @cell(line)
                    if cell?
                        switch mesg.show
                            when 'input'
                                cell.remove_cell_flag(FLAGS.hide_input)
                            when 'output'
                                cell.remove_cell_flag(FLAGS.hide_output)

        if mesg.hide?
            if opts.mark?
                line = opts.mark.find()?.from.line
                if line?
                    cell = @cell(line)
                    if cell?
                        switch mesg.hide
                            when 'input'
                                cell.set_cell_flag(FLAGS.hide_input)
                            when 'output'
                                cell.set_cell_flag(FLAGS.hide_output)

        if mesg.auto?
            if opts.mark?
                line = opts.mark.find()?.from.line
                if line?
                    cell = @cell(line)
                    if cell?
                        if mesg.auto
                            cell.set_cell_flag(FLAGS.auto)
                        else
                            cell.remove_cell_flag(FLAGS.auto)

        if mesg.done? and mesg.done
            output.removeClass('sagews-output-running')
