code: function(data) {
              doc.setFontSize(18);
              doc.text("Custom styling with hooks", data.settings.margin.left, 22);
              doc.setFontSize(12);
              doc.text("Conditional styling of cells, rows and columns, cell and table borders, custom font, image in cell", data.settings.margin.left, 30)
          }
docs: Use this to add content to each page that has the autoTable on it. This can be page headers, page footers and page numbers for example.