docs: function parseOptions(options) {
      const defaults = {
          singleline: 1,
          multiline: 1,
          allowFirstLine: false,
      }
  
      if (options) {
          if (options.singleline) {
              if (typeof options.singleline === "number") {
                  defaults.singleline = options.singleline
              } else if (options.singleline.max) {
                  defaults.singleline = options.singleline.max
              }
          }
  
          if (options.multiline) {
              if (typeof options.multiline === "number") {
                  defaults.multiline = options.multiline
              } else {
                  if (options.multiline.max) {
                      defaults.multiline = options.multiline.max
                  }
  
                  if (options.multiline.allowFirstLine) {
                      defaults.allowFirstLine = options.multiline.allowFirstLine
                  }
              }
          }
      }
  
      return defaults
  }