Header information not parsed for example table
cco3 opened this issue · comments
Conley Owens commented
I'd expect the cells above the dividing line to be marked as th elements in someway, but I see nothing here.
Christian Murphy commented
It is parsed, and is encoded positionally, this is noted in the mdast spec:
https://github.com/syntax-tree/mdast#tablecell
TableCell
(Parent
) represents a header cell in aTable
, if its parent is ahead
, or a data cell otherwise.
and the reference for head
Head
The head of a node is its first child (if any).
in other words, the first row will always be the header.