Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vantagedesign/ace-documentation.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/shortcodes/alerts.md')
-rw-r--r--exampleSite/content/shortcodes/alerts.md15
1 files changed, 7 insertions, 8 deletions
diff --git a/exampleSite/content/shortcodes/alerts.md b/exampleSite/content/shortcodes/alerts.md
index 8673457..ed7f31d 100644
--- a/exampleSite/content/shortcodes/alerts.md
+++ b/exampleSite/content/shortcodes/alerts.md
@@ -4,7 +4,7 @@ description = ""
weight = 1
+++
-The alerts shortcode allows you to let information stand out by means of an alert styled box. This can be used to indicate danger, warning, success or info.
+The alerts shortcode allows you to let information stand out by means of an alert styled box. This can be used to indicate danger, warning, success or info.
{{< alert style="danger" >}} I'm a danger alert {{< /alert >}}
{{< alert style="warning" >}} I'm a warning alert {{< /alert >}}
@@ -13,15 +13,14 @@ The alerts shortcode allows you to let information stand out by means of an aler
## Usage
Place the following shortcode on the page
-{{< code lang="html" >}}
+{{< code lang="html" >}}
{{</* alert style="STYLE" */>}} [content] {{</* /alert */>}}
{{< /code >}}
### Parameters
#### Style
-The style parameter is directly applied to the alert as a class in the format *"alert-{STYLE}"*. Bootstrap comes with four styles that can be used with this:
-- danger
-- warning
-- success
-- info
-
+The style parameter is directly applied to the alert as a class in the format *"alert-{STYLE}"*. Bootstrap comes with four styles that can be used with this:
+- danger
+- warning
+- success
+- info