ROOT@0..520
  DOCUMENT@0..520
    Heading@0..19
      AtxHeadingMarker@0..1
        AtxHeadingMarker@0..1 "#"
      WHITESPACE@1..2 " "
      HeadingContent@2..18
        TEXT@2..18 "Reference Images"
      NEWLINE@18..19 "\n"
    BlankLine@19..20
      BlankLine@19..20 "\n"
    PARAGRAPH@20..72
      TEXT@20..40 "Explicit reference: "
      ImageLink@40..57
        ImageLinkStart@40..42
          ImageLinkStart@40..42 "!["
        ImageAlt@42..50
          TEXT@42..50 "alt text"
        TEXT@50..51 "]"
        TEXT@51..52 "["
        TEXT@52..56 "img1"
        TEXT@56..57 "]"
      TEXT@57..71 " in paragraph."
      NEWLINE@71..72 "\n"
    BlankLine@72..73
      BlankLine@72..73 "\n"
    PARAGRAPH@73..116
      TEXT@73..93 "Implicit reference: "
      ImageLink@93..102
        ImageLinkStart@93..95
          ImageLinkStart@93..95 "!["
        ImageAlt@95..99
          TEXT@95..99 "Logo"
        TEXT@99..100 "]"
        TEXT@100..101 "["
        TEXT@101..102 "]"
      TEXT@102..115 " shows brand."
      NEWLINE@115..116 "\n"
    BlankLine@116..117
      BlankLine@116..117 "\n"
    PARAGRAPH@117..156
      TEXT@117..137 "Shortcut reference: "
      ImageLink@137..144
        ImageLinkStart@137..139
          ImageLinkStart@137..139 "!["
        ImageAlt@139..143
          TEXT@139..143 "Icon"
        TEXT@143..144 "]"
      TEXT@144..155 " works too."
      NEWLINE@155..156 "\n"
    BlankLine@156..157
      BlankLine@156..157 "\n"
    PARAGRAPH@157..215
      TEXT@157..174 "Multiple images: "
      ImageLink@174..186
        ImageLinkStart@174..176
          ImageLinkStart@174..176 "!["
        ImageAlt@176..181
          TEXT@176..181 "first"
        TEXT@181..182 "]"
        TEXT@182..183 "["
        TEXT@183..185 "i1"
        TEXT@185..186 "]"
      TEXT@186..191 " and "
      ImageLink@191..204
        ImageLinkStart@191..193
          ImageLinkStart@191..193 "!["
        ImageAlt@193..199
          TEXT@193..199 "second"
        TEXT@199..200 "]"
        TEXT@200..201 "["
        TEXT@201..203 "i2"
        TEXT@203..204 "]"
      TEXT@204..214 " together."
      NEWLINE@214..215 "\n"
    BlankLine@215..216
      BlankLine@215..216 "\n"
    PARAGRAPH@216..265
      TEXT@216..228 "Unresolved: "
      ImageLink@228..251
        ImageLinkStart@228..230
          ImageLinkStart@228..230 "!["
        ImageAlt@230..237
          TEXT@230..237 "missing"
        TEXT@237..238 "]"
        TEXT@238..239 "["
        TEXT@239..250 "nonexistent"
        TEXT@250..251 "]"
      TEXT@251..264 " stays as-is."
      NEWLINE@264..265 "\n"
    BlankLine@265..266
      BlankLine@265..266 "\n"
    PARAGRAPH@266..328
      TEXT@266..284 "Case insensitive: "
      ImageLink@284..297
        ImageLinkStart@284..286
          ImageLinkStart@284..286 "!["
        ImageAlt@286..289
          TEXT@286..289 "ALT"
        TEXT@289..290 "]"
        TEXT@290..291 "["
        TEXT@291..296 "myimg"
        TEXT@296..297 "]"
      TEXT@297..327 " matches lowercase de ..."
      NEWLINE@327..328 "\n"
    BlankLine@328..329
      BlankLine@328..329 "\n"
    PARAGRAPH@329..388
      TEXT@329..342 "Complex alt: "
      ImageLink@342..370
        ImageLinkStart@342..344
          ImageLinkStart@342..344 "!["
        ImageAlt@344..363
          Strong@344..352
            StrongMarker@344..346 "**"
            TEXT@346..350 "bold"
            StrongMarker@350..352 "**"
          TEXT@352..357 " and "
          CodeSpan@357..363
            CodeSpanMarker@357..358 "`"
            TEXT@358..362 "code"
            CodeSpanMarker@362..363 "`"
        TEXT@363..364 "]"
        TEXT@364..365 "["
        TEXT@365..369 "img1"
        TEXT@369..370 "]"
      TEXT@370..387 " with formatting."
      NEWLINE@387..388 "\n"
    BlankLine@388..389
      BlankLine@388..389 "\n"
    ReferenceDefinition@389..430
      Link@389..395
        LinkStart@389..390
          LinkStart@389..390 "["
        LinkText@390..394
          TEXT@390..394 "img1"
        TEXT@394..395 "]"
      TEXT@395..429 ": /path/to/image.png  ..."
      NEWLINE@429..430 "\n"
    ReferenceDefinition@430..448
      Link@430..436
        LinkStart@430..431
          LinkStart@430..431 "["
        LinkText@431..435
          TEXT@431..435 "logo"
        TEXT@435..436 "]"
      TEXT@436..447 ": /logo.svg"
      NEWLINE@447..448 "\n"
    ReferenceDefinition@448..466
      Link@448..454
        LinkStart@448..449
          LinkStart@448..449 "["
        LinkText@449..453
          TEXT@449..453 "Icon"
        TEXT@453..454 "]"
      TEXT@454..465 ": /icon.png"
      NEWLINE@465..466 "\n"
    ReferenceDefinition@466..482
      Link@466..470
        LinkStart@466..467
          LinkStart@466..467 "["
        LinkText@467..469
          TEXT@467..469 "i1"
        TEXT@469..470 "]"
      TEXT@470..481 ": /img1.jpg"
      NEWLINE@481..482 "\n"
    ReferenceDefinition@482..498
      Link@482..486
        LinkStart@482..483
          LinkStart@482..483 "["
        LinkText@483..485
          TEXT@483..485 "i2"
        TEXT@485..486 "]"
      TEXT@486..497 ": /img2.jpg"
      NEWLINE@497..498 "\n"
    ReferenceDefinition@498..520
      Link@498..505
        LinkStart@498..499
          LinkStart@498..499 "["
        LinkText@499..504
          TEXT@499..504 "myimg"
        TEXT@504..505 "]"
      TEXT@505..519 ": /matched.png"
      NEWLINE@519..520 "\n"

