table-pipe-explicit-empty-last-cell

The last | is the closer, never a separator; an explicit empty final cell needs its own | before the closer

§4.8 · source

Input

| A | B | |

Output AST

- type: Table
  rows:
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: A
        - type: Cell
          children:
            - type: Text
              value: B
        - type: Cell
          children: []
  columns:
    - type: Column
      align: start
    - type: Column
      align: start
    - type: Column
      align: start