From 040b472a054fabd9d1cc1a2392fcdd730ab8e53d Mon Sep 17 00:00:00 2001 From: Josua Blejeru Date: Wed, 24 May 2023 12:31:42 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20document=20post=20size=20option?= =?UTF-8?q?=20in=20HN=20widget?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/widgets.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/widgets.md b/docs/widgets.md index bc722308..24f75874 100644 --- a/docs/widgets.md +++ b/docs/widgets.md @@ -1187,6 +1187,7 @@ Display new and trending Posts from Hackernews **Field** | **Type** | **Required** | **Description** --- | --- | --- | --- **`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 @@ -1194,6 +1195,7 @@ Display new and trending Posts from Hackernews - type: hackernews-trending options: stories: newstories + limit: 10 ``` ---