Skip to content

Commit

Permalink
fix(TableCell): Fix long description
Browse files Browse the repository at this point in the history
  • Loading branch information
nokome committed Jul 30, 2019
1 parent b841047 commit ffd7ec5
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions schema/TableCell.schema.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ description: |
properties:
name:
'@id': schema:name
description: |
The name of the cell.
description: The name of the cell.
$comment: |
Cell's have an implicit name derived from their position in the table
e.g. `C4` for the cell in the third column and fourth row. However this name can be overridden
Expand All @@ -26,27 +25,26 @@ properties:
default: 1
kind:
'@id': stencila:tableCellKind
description: |
Indicates whether the cell is a header (similar to the HTML [`<th>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th)),
or a default data cell (similar to the HTML [`<td>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td)).
description: Indicates whether the cell is a header.
$comment: |
When `header`, the cell is similar to the HTML [`<th>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/th)).
When `data`, the cell is similar to the HTML [`<td>` element](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td)).
type: string
enum:
- data
- header
default: data
rowspan:
'@id': stencila:rowspan
description: |
How many columns the cell extends.
description: How many columns the cell extends.
$comment: Based on the HTML `rowspan` attribute for [table cells](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/td).
type: integer
minimum: 0
maximum: 65534
default: 1
content:
'@id': stencila:content
description: |
Contents of the table cell.
description: Contents of the table cell.
type: array
items:
$ref: InlineContent
Expand Down

0 comments on commit ffd7ec5

Please sign in to comment.