code: private ListItemBlock createTocEntry(HeaderBlock headerBlock, String documentReference)
      {
          // Create the link to target the header anchor
          DocumentResourceReference reference = new DocumentResourceReference(documentReference);
          reference.setAnchor(headerBlock.getId());
          LinkBlock linkBlock = new LinkBlock(this.tocBlockFilter.generateLabel(headerBlock), reference, false);
  
          return new ListItemBlock(Collections.singletonList(linkBlock));
      }
docs: Create a new toc list item based on section title.
  
  @param headerBlock the {@link HeaderBlock}.
  @return the new list item block.