docs: function (match) {
      var type
  
      if (match[4]) {
        type = 'self-closing'
      } else if (match[6]) {
        type = 'closed'
      } else {
        type = 'single'
      }
  
      return new Shortcode({
        tag: match[2],
        attrs: match[3],
        type: type,
        content: match[5]
      })
    }