Skip to content

collectLinkReferenceLabels

The labels of the link reference definitions in a tree, normalized as CommonMark compares them.

Import:

import { collectLinkReferenceLabels } from '@mnaoumov/obsidian-markdown-parser';

Signature:

function collectLinkReferenceLabels(tree: Tree, text: string): Set<string>

Parameters:

Parameter Type Description
tree Tree The tree.
text string The document the tree was parsed from.

Returns: Set<string> — The labels.


Links to this page: