Display a list of posts from a specific subreddit.
Display a list of posts from a specific subreddit.
@ -488,6 +513,7 @@ Example:
| style | string | no | vertical-list |
| style | string | no | vertical-list |
| limit | integer | no | 15 |
| limit | integer | no | 15 |
| collapse-after | integer | no | 5 |
| collapse-after | integer | no | 5 |
| comments-url-template | string | no | https://www.reddit.com/{POST-PATH} |
##### `subreddit`
##### `subreddit`
The subreddit for which to fetch the posts from.
The subreddit for which to fetch the posts from.
@ -513,6 +539,25 @@ The maximum number of posts to show.
##### `collapse-after`
##### `collapse-after`
How many posts are visible before the "SHOW MORE" button appears. Set to `-1` to never collapse. Not available when using the `vertical-cards` and `horizontal-cards` styles.
How many posts are visible before the "SHOW MORE" button appears. Set to `-1` to never collapse. Not available when using the `vertical-cards` and `horizontal-cards` styles.
##### `comments-url-template`
Used to replace the default link for post comments. Useful if you want to use the old Reddit design or any other 3rd party front-end. Example: