Files
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

14 lines
374 B
TypeScript

/**
* Decode markdown strings (which occur in places such as fenced code info
* strings, destinations, labels, and titles).
*
* The “string” content type allows character escapes and -references.
* This decodes those.
*
* @param {string} value
* Value to decode.
* @returns {string}
* Decoded value.
*/
export function decodeString(value: string): string