 ScrollView = require 'scroll-view'
 fs = require 'fs'
 $ = require 'jquery'
+{$$$} = require 'space-pen'
 
 module.exports =
 class MarkdownPreview extends ScrollView

     <li>You aren\'t online or are unable to reach <a href="https://github.com">github.com</a></li>
     </ul>'

  loadHtml: (text) ->
    payload =
       mode: 'markdown'

  attach: ->
    return unless @isMarkdownFile(@getActivePath())
    @rootView.append(this)
    @markdownBody.html(@getLoadingHtml())
    @loadHtml()
    @focus()

