code: function strip_whitespace (s) {
        if (options.strip_whitespace) {
          return s.replace(/\s*\n/g,"\n").replace(/(\r?\n){2,}/g,"\n\n");
        }
        return s;
      }
docs: Strip excess whitespace (anything more than two newlines) and leftover indentation.