table-header-separator-attrs

{attrs} on a |:---| header separator row claim the Table slot directly; alignment is also extracted; no diagnostic emitted

§4.8 · source

Input

| Head A | Head B |
|:-------|-------:| {.green}
| AA     | BB     |

Output AST

- type: Table
  attributes:
    - key: class
      value:
        - green
  columns:
    - type: Column
      align: left
    - type: Column
      align: right
  rows:
    - type: Header
      children:
        - type: Cell
          children:
            - type: Text
              value: Head A
        - type: Cell
          children:
            - type: Text
              value: Head B
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: AA
        - type: Cell
          children:
            - type: Text
              value: BB