Some styling for the index entries
Handle multiple index entries with the same text as well as sub-entries