shownLabel

tcmts.site.shownLabel · #qw7f62nf · function · runs anywhere

A page's label as the site shows it: as the index names it, starting with a capital (introduction: Introduction).

export const shownLabel = (label: string): string => label.charAt(0).toUpperCase() + label.slice(1)

used by