TMarkdownWriter.EscapeText function
Escapes special Markdown characters
Declaration
function EscapeText(AText: string): string; overrideArguments
AText | Text to escape |
Function result
Text with escaped Markdown special characters
Description
Escapes characters that could break Markdown structure.
EscapeText escapes backslashes (\), square brackets ([]), but preserves
formatting characters (* _ ` #) as they might be intentional formatting.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
