markmv - v1.26.2
    Preparing search index...

    Interface MarkdownLink

    Represents a parsed markdown link with comprehensive metadata.

    Contains all information needed for link validation, path resolution, and cross-reference tracking. Used throughout the system for link analysis and manipulation.

    Accessing link information

    const links: MarkdownLink[] = parsedFile.links;

    links.forEach(link => {
    console.log(`${link.type} link: ${link.href}`);
    if (link.resolvedPath) {
    console.log(` Resolves to: ${link.resolvedPath}`);
    }
    console.log(` Location: line ${link.line}, column ${link.column}`);
    });
    interface MarkdownLink {
        type: LinkType;
        href: string;
        text: undefined | string;
        referenceId: undefined | string;
        blockReference?: string;
        line: number;
        column: number;
        absolute: boolean;
        resolvedPath?: string;
        exists?: boolean;
    }
    Index

    Properties

    type: LinkType

    Type of link

    href: string

    The href/src attribute value

    text: undefined | string

    Link text (for regular links) or alt text (for images)

    referenceId: undefined | string

    Reference ID for reference-style links

    blockReference?: string

    Block/section reference for transclusions (e.g., #section or ^block-id)

    line: number

    Line number in source file (1-based)

    column: number

    Column number in source file (1-based)

    absolute: boolean

    Whether the link uses an absolute path

    resolvedPath?: string

    Resolved absolute file path (for internal links)

    exists?: boolean

    Whether the link target exists