Skip to content
On this page

stripHeading ​

ts
export function stripHeading(heading: string): string;

该方法通过剔除特殊字符以及减少连续空格的方式来规范化链接匹配的 heading。

Parameters ​

ParameterDescription
heading