diff options
author | Lars Kruse <devel@sumpfralle.de> | 2020-09-13 19:37:59 +0300 |
---|---|---|
committer | Lars Kruse <devel@sumpfralle.de> | 2020-09-13 21:33:14 +0300 |
commit | 604d755b77ee6a5ad7649326d0634b4a6062e528 (patch) | |
tree | 1a7ddd2574b8450d7a5ab4ba181a41bbf4ad2c7e /exampleSite/content/shortcodes/buttons.md | |
parent | 9d951f6d6763bed0a7861eae798bbbc0b3488b5d (diff) |
Strip superfluous whitespace
Diffstat (limited to 'exampleSite/content/shortcodes/buttons.md')
-rw-r--r-- | exampleSite/content/shortcodes/buttons.md | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/exampleSite/content/shortcodes/buttons.md b/exampleSite/content/shortcodes/buttons.md index 5d3a462..a539f5c 100644 --- a/exampleSite/content/shortcodes/buttons.md +++ b/exampleSite/content/shortcodes/buttons.md @@ -4,7 +4,7 @@ description = "" weight = 2 +++ -The button shortcode allows you to add a button to the page. This button is a HTML *anchor* element and can thus be used to link to another page or website. +The button shortcode allows you to add a button to the page. This button is a HTML *anchor* element and can thus be used to link to another page or website. {{< button style="primary" >}} Button {{< /button >}} {{< button style="secondary" >}} Button {{< /button >}} @@ -16,23 +16,23 @@ The button shortcode allows you to add a button to the page. This button is a HT ## Usage Place the following shortcode on the page -{{< code lang="html" >}} +{{< code lang="html" >}} {{</* button style="STYLE" link="https://yourwebsite.com" */>}} [content] {{</* /button */>}} {{< /code >}} ### Parameters #### *style* -The style parameter is directly applied to the alert as a class in the format *"btn-{STYLE}"*. Bootstrap comes with a variety of styles that can be used with this: -- primary -- secondary -- danger -- warning -- success -- info +The style parameter is directly applied to the alert as a class in the format *"btn-{STYLE}"*. Bootstrap comes with a variety of styles that can be used with this: +- primary +- secondary +- danger +- warning +- success +- info -Each style can also be presented as an 'outline' variant by prefixing the style with 'outline-'. +Each style can also be presented as an 'outline' variant by prefixing the style with 'outline-'. Example: <code>style="outline-primary"</code>. #### *link* -The link parameter may consist of an URL leading to a page or other website. Simply use it by defining a URL for the button to link to. -Example: <code>link="https://google.com"</code>.
\ No newline at end of file +The link parameter may consist of an URL leading to a page or other website. Simply use it by defining a URL for the button to link to. +Example: <code>link="https://google.com"</code>. |