     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.classList.add 'body'
    body

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

    result.view.style.opacity = 0
    @timeout 10, =>
      result.view.style.opacity = null
    watch != false and @watchText result
    @watchNewline result
    result

