code: function md2html( file ){
    file = file.substr( file.length - 3 ) === '.md' ? file : file + '.md'; // add extension if need be
  
    var md;
    try{
      md = fs.readFileSync('./md/' + file, 'utf8');
    } catch(e){
      throw 'A markdown file named `' + file + '` was referenced but could not be read';
    }
  
    // var html = converter.makeHtml( md );
    //var html = mdConvertor( md );
    var html = marked( md, {
      highlight: function(code, lang){
        var ret;
  
        if( lang ){
          ret = hljs.highlight(lang, code).value;
        } else {
          ret = hljs.highlightAuto(code).value;
        }
  
        return ret;
        
      },
  
      renderer: mdRend
    } );
  
  
    return html;
  }
docs: var html = converter.makeHtml("**I am bold!**"); var html = Handlebars.compile();