Commit 7e2c7e0
committed
add an extendedData field to tables
`extendedData` provides supplementary per-cell data for tables. It's
indexed with a generated string key with the format 'X_Y', as described
in its "description" field. For the most part this can be omitted, but
here it introduces the 'colspan' and 'rowspan' properties, with the
following semantics:
- the default value of each of these is 1. the property will be absent
in this case.
- if all values in an `extendedData` object are the default, it will not
be included in the Render JSON.
- a value greater than one has the same semantic meaning as the
attributes of the same name on the HTML `tr`/`th` elements - that
this cell should fill in the space of more than one column and/or row.
- a value of zero means that the cell should not be rendered in HTML
because another cell has a span that overwrites it.1 parent 3099317 commit 7e2c7e0
File tree
1 file changed
+18
-0
lines changed- Sources/SwiftDocC/SwiftDocC.docc/Resources
1 file changed
+18
-0
lines changedLines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
839 | 839 | | |
840 | 840 | | |
841 | 841 | | |
| 842 | + | |
| 843 | + | |
| 844 | + | |
| 845 | + | |
| 846 | + | |
| 847 | + | |
| 848 | + | |
842 | 849 | | |
843 | 850 | | |
844 | 851 | | |
845 | 852 | | |
846 | 853 | | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
847 | 865 | | |
848 | 866 | | |
849 | 867 | | |
| |||
0 commit comments