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

    body.classList.add 'body'
    body

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

    r.hide = => @hideBody r
    r.toggle = => @toggle r

  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,
      header: header
      body: body
    mark.result = result
    result.editor = ed
    result.marker = mark
