function escapeHeading

external
declare function escapeHeading(text: string): string;

Escapes heading characters in a string.

Parameters

text: string
Content to escape