code: function onFileReady(err, data) {
      if (err) {
        if (onDone) onDone(err)
        else console.error('>>>' + err);
        return;
      }
  
      var fileContent = data.toString();
  
      var msg = {
        text:    fileContent,
        mode:    flavor,
        context: context
      };
  
      var jsonMsg = JSON.stringify(msg);
  
      var options = {
        method: 'POST',
        preambleCRLF: true,
        postambleCRLF: true,
        uri: 'https://api.github.com/markdown',
        'content-type': 'application/json',
        headers: {
          'User-Agent' : userName
        },
        body: jsonMsg
      };
  
      //=======================================================
      // Call the Github Markdown API to parse the file content
      //=======================================================
      request(options, handleResponse.bind(this));
  
      //======================================================
      // Enhance the output of the Github Markdown API with
      // optional header or trailer.
      //======================================================
      function handleResponse(err, response, body) {
        if (this.debug) console.error('>>>handling response...');
        if (err) {
          if (onDone) onDone(err)
          else console.error('>>>upload to github failed: ', err);
          return;
        }
  
        if (stylesheet || title) {
          if (titleText == null) titleText = fileName;
          this.cat('<!DOCTYPE html>\n' +
                   '<html>\n' +
                   '<head>\n' +
                   '  <title>' + titleText + '</title>\n' +
                   '  <link rel="stylesheet" href="' + stylesheet + '">\n' +
                   '</head>\n' +
                   '<body>\n' );
        }
  
        this.cat(body);
        this.cat('\n');
  
        if (stylesheet || title) {
          this.cat( '</body>\n</html>\n' );
        }
  
        if (this.debug) console.error('>>>finished getting code');
        this.done = true;
        if (onDone) onDone();
      } // end handleResponse
    }
docs: ====================================================== Process the file content. ======================================================