code: func (fp *formatParser) addFormatFunc(
  	f func(*LineData, *bytes.Buffer) error, size int,
  ) {
  	fp.commitStatic()
  	fp.formatFuncs = append(fp.formatFuncs, f)
  	fp.initialSize += size
  }
docs: // Adds a format function to the formatFunc list.