caption-inline-emphasis

Caption text is parsed by the full inline rule set — emphasis, strong, and other inline constructs are valid

§6.2

Input

![alt](photo.jpg)
^ Photo by __Jane Doe__, **2025**

Output AST

- type: ImageBlock
  alt:
    - type: Text
      value: alt
  src: photo.jpg
  caption:
    - type: Text
      value: "Photo by "
    - type: Emphasis
      children:
        - type: Text
          value: Jane Doe
    - type: Text
      value: ", "
    - type: Strong
      children:
        - type: Text
          value: "2025"