📝 document post size option in HN widget

This commit is contained in:
Josua Blejeru 2023-05-24 12:31:42 +02:00
parent 2d77a155d5
commit 040b472a05

View File

@ -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
``` ```
--- ---