Skip to content

stripHeading

Code location

stripHeading(heading): string

Normalizes headings for link matching by stripping out special characters and shrinking consecutive spaces.

Parameters

heading: string

Returns

string