code: function (input) {
      if (!canConvert(input)) {
        throw new TypeError(
          input + ' is not a string, or an element/document/fragment node.'
        )
      }
  
      if (input === '') return ''
  
      var output = process.call(this, new RootNode(input));
      return postProcess.call(this, output)
    }
docs: The entry point for converting a string or DOM node to Markdown
  @public
  @param {String|HTMLElement} input The string or DOM node to convert
  @returns A Markdown representation of the input
  @type String