From ce34ea05b725c31768c6aeff3efc880fa9acd9ff Mon Sep 17 00:00:00 2001 From: James Panther <4462786+jpanther@users.noreply.github.com> Date: Mon, 7 Nov 2022 16:35:21 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20Update=20shortcode=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exampleSite/content/docs/shortcodes/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/exampleSite/content/docs/shortcodes/index.md b/exampleSite/content/docs/shortcodes/index.md index 8e34a339..ed0e2d4b 100644 --- a/exampleSite/content/docs/shortcodes/index.md +++ b/exampleSite/content/docs/shortcodes/index.md @@ -55,7 +55,15 @@ New article! ## Button -`button` outputs a styled button component which can be used to highlight a primary action. It has two optional variables `href` and `target` which can be used to specify the URL and target of the link. +`button` outputs a styled button component which can be used to highlight a primary action. It has three optional parameters: + + +|Parameter|Description| +|---|---| +|`href`|The URL that the button should link to.| +|`target`|The target of the link.| +|`download`|Whether browser should download the resource rather than navigate to the URL. The value of this parameter will be the name of the downloaded file.| + **Example:**