Urara-Blog/node_modules/.pnpm-store/v3/files/e1/3c9ea008b5d7a074a3bc989d1fdfcce0ad7572d9c1699f82f3b94084d0c119ec0e54861b3b143acb6d310d4bfb284e2e9052dc3325bd2fe5080dd48e186c82
2022-08-14 01:14:53 +08:00

17 lines
787 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* The `label` of an association is the string value: character escapes and
* references work, and casing is intact.
* The `identifier` is used to match one association to another: controversially,
* character escapes and references dont work in this matching: `©` does
* not match `©`, and `\+` does not match `+`.
* But casing is ignored (and whitespace) is trimmed and collapsed: ` A\nb`
* matches `a b`.
* So, we do prefer the label when figuring out how were going to serialize:
* it has whitespace, casing, and we can ignore most useless character escapes
* and all character references.
*
* @param {Association} node
* @returns {string}
*/
export function association(node: Association): string;
export type Association = import('mdast').Association;