You can edit what is displayed in a table of contents

Yes, you can edit the contents of a table of contents by adding, removing, or rearranging sections and subsections as needed. This can be done manually by selecting and moving the text accordingly or by using the formatting options available in word processing software.