HeadingIdentifierDeduplicationHook
Hook that scans the document for Headings sharing the same base identifier and stores a deterministic, document-order occurrence index for each of them.
The first heading for a given base identifier gets index 0 (no disambiguation needed); each subsequent collision gets 1, 2, ... Renderers can use this index to produce unique anchor identifiers.
See also
Functions
Link copied to clipboard
Attaches this hook to the given iterator.