function escapeHeading

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

Escapes heading characters in a string.

Parameters

text: string
Content to escape