Preview deployment

function cleanCodeBlockContent

export function cleanCodeBlockContent(text: string): string;

The content to put in a code block with all code block fences replaced by the equivalent backticks.

Parameters

text: string
The string to be converted