caption-table-basic

A ^ line immediately after a table (no blank line) sets the table's caption field; no separate AST node is produced

§6.2

Input

| Name | Score |
^ Results from the first cohort

Output AST

- type: Table
  caption:
    - type: Text
      value: Results from the first cohort
  rows:
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: Name
        - type: Cell
          children:
            - type: Text
              value: Score