-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
The precise implementation of the Table element in CommonMark is currently unclear to me (not sure how the different sub-elements should be organized).
- The Table extension needs to be properly hashed out and documented.
- The conversion from standard library tables also needs to be fixed.
- Remove the
TableBodyandTableHeaderelements altogether, and just interpret the first row as the header. - Make
TableCella singleton, removing its fields. They could also be turned into some sort of dynamic properties that are determined by traversing the tree. - Make
TableComponentsubtypeAbstractElementdirectly and don't use it forTable(to ensure that the internal nodes of a table are not allowed to exists in other contexts). - Add helper methods like
rows,nrows,ncolsetc. to dynamically determine the number of columns and rows of a table.
Metadata
Metadata
Assignees
Labels
No labels