     r.hide = => @hideBody r
     r.toggle = => @toggle r
 
-  show: (ed, mark, {watch}={watch: true}) ->
+  show: (ed, mark, {watch, header, body}={}) ->
     mark.getBufferRange().isReversed and throw "Cannot add result to reversed marker"
     @removeLines ed, mark.getHeadBufferPosition().row,
                      mark.getTailBufferPosition().row
-    result = @result ed
+    result = @result ed,
+      header: header
+      body: body
     mark.result = result
     result.editor = ed
     result.marker = mark

    body = @body()
    view.appendChild header
    view.appendChild body
    header.innerText = "Result"
    body.innerText = "[1, 2, 3\n 4, 5, 6\n 7, 8, 9]"
    view: view
    header: header
    body: body

    body.classList.add 'body'
    body

  result: (ed, opts) ->
    view = document.createElement 'div'
    view.classList.add 'ink', 'inline', 'result'
    view.style.position = 'relative'
