Skip to content

Commit

Permalink
Remove unsupported inline size formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Fixler committed Nov 29, 2018
1 parent d7249d9 commit 340c9d9
Showing 1 changed file with 0 additions and 23 deletions.
23 changes: 0 additions & 23 deletions npf-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -503,29 +503,6 @@ Property | Type | Required | Description
-------- | ---- | -------- | -----------
hex | string | yes | The color to use, in standard hex format, with leading #.

#### Inline Format Type: Size

The `size` type is included when the text deviates from the default text size in a way that is not captured by the subtype. For example, a `heading1` likely - but not necessarily - means larger text, but if the text uses a mixture of sizes or a different size from the usual `heading1` then we also send this `size` inline format type. Text that falls outside the `size` ranges will be assumed to be the subtype's default size.

```JSON
{
"type": "text",
"text": "Celebrate Pride Month",
"formatting": [
{
"start": 10,
"end": 15,
"type": "size",
"size": "small|big"
}
]
}
```

Property | Type | Required | Description
-------- | ---- | -------- | -----------
size | string | yes | The text size for this particular range of text, one of `small` or `big`.

### Content Block Type: Image

For image blocks, the only required field is a `media` array, which contains objects per-image-size. Each image media object contains fields for `type`, `url`, `width`, and `height`; see the [Media Objects](#media-objects) section for more details.
Expand Down

0 comments on commit 340c9d9

Please sign in to comment.