site/node_modules/micromark-util-decode-string/index.d.ts

14 lines
374 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
/**
* 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