Equation Citator v1.3.7 Documentation
    Preparing search index...

    Parse all images in markdown content Only parses images that:

    • Take the whole line (after trimming)
    • Start with ! (are displayed)
    • Are NOT inside quote blocks

    Supports following types (local file only):

    1. WikiLink: ![[image.png|fig:3.1|title:test|desc:description]]
    2. Markdown: ![fig:4-1|desc:wikipedia](link)

    The markdown content to parse

    The prefix to match (e.g., "fig:"), default is "fig:"

    Array of ImageMatch objects

    • Parse a single image line and return ImageMatch if valid

      Parameters

      • line: string

        The line to parse

      • lineNumber: number

        Line number in the document (just for record)

      • imagePrefix: string

        The prefix to match (e.g., "fig:")

      Returns ImageMatch | null

      ImageMatch or null if not a valid image