Merge pull request #1678 from sculptor189/main

 Add rel attribute to button shortcode
This commit is contained in:
Nuno Coração
2024-08-28 16:36:38 +01:00
committed by GitHub
3 changed files with 3 additions and 2 deletions

View File

@@ -104,7 +104,7 @@ 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 variables `href`, `target` and `rel` which can be used to specify the URL, target and relation of the link.
**Example:**

View File

@@ -104,7 +104,7 @@ 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 variables `href`, `target` and `rel` which can be used to specify the URL, target and relation of the link.
**Example:**