📝 document post size option in HN widget
This commit is contained in:
@@ -1187,6 +1187,7 @@ Display new and trending Posts from Hackernews
|
|||||||
**Field** | **Type** | **Required** | **Description**
|
**Field** | **Type** | **Required** | **Description**
|
||||||
--- | --- | --- | ---
|
--- | --- | --- | ---
|
||||||
**`stories`** | `string` | _Optional_ | HN Stories to display defaults to `topstories`. Options are: `beststories`, `topstories` or `newstories`
|
**`stories`** | `string` | _Optional_ | HN Stories to display defaults to `topstories`. Options are: `beststories`, `topstories` or `newstories`
|
||||||
|
**`limit`** | `int` | _Optional_ | The size of the list of Posts to show.
|
||||||
|
|
||||||
##### Example
|
##### Example
|
||||||
|
|
||||||
@@ -1194,6 +1195,7 @@ Display new and trending Posts from Hackernews
|
|||||||
- type: hackernews-trending
|
- type: hackernews-trending
|
||||||
options:
|
options:
|
||||||
stories: newstories
|
stories: newstories
|
||||||
|
limit: 10
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
Reference in New Issue
Block a user