 ]
 
 class TemplateCompiler
-  constructor: (@inStream,@outStream,@root) ->
+  constructor: (@root) ->
     @hbs = hbs.create()
 
     # Add utility functions to this instance of handlebars

  register: (name,fn) ->
    @hbs.registerHelper(name,withRoot(fn,{root: @root,hbs: @hbs, compiler: this}))

  # cb(err)
  compile: (cb) ->
    async.waterfall [
      @readInput.bind(@)
      @renderhbs.bind(@)
      @renderMarkedDown.bind(@)
      @applyTransforms.bind(@)
      @writeOutput.bind(@)
    ], cb

  # @param content (String)

        highlight(code,lang,@hbs)
      }, cb

module.exports = TemplateCompiler
