 split.
          for (var i = 1; i <= 100; i++) {
            document.write(`<tr><td>test ${i}</td><td>m2</td></tr>`);
          }
        </script>
      </tbody>
    </table>

    <script>
      // Repeat thead on each page (PagedJS cut tables in pieces, one for each page)
      // https://gitlab.pagedmedia.org/tools/pagedjs/issues/84#note_2322
      class RepeatingTableHeadersHandler extends Paged.Handler {

        constructor(chunker, polisher, caller) {
          super(chunker, polisher, caller);
  