Preview environment

function escapeCodeBlock

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

Escapes code block markdown in a string.

Parameters

text: string
Content to escape