The table of content links use the data-shortname attribute of headings,
and if not set fallback to the text of the headings