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

github.com/vjeantet/hugo-theme-docport.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/shortcodes/notice/_index.md')
-rw-r--r--exampleSite/content/shortcodes/notice/_index.md18
1 files changed, 10 insertions, 8 deletions
diff --git a/exampleSite/content/shortcodes/notice/_index.md b/exampleSite/content/shortcodes/notice/_index.md
index 89f85bd..bca8795 100644
--- a/exampleSite/content/shortcodes/notice/_index.md
+++ b/exampleSite/content/shortcodes/notice/_index.md
@@ -22,16 +22,18 @@ You may add a label to your notice which will be displayed on top of it.
## Examples
{{% notice success %}}Lorem ipsum dolor sit amet, consectetur.{{% /notice %}}
-{{% notice %}}Lorem ipsum dolor sit amet, consectetur.{{% /notice %}}
-{{% notice warning %}}Lorem ipsum dolor sit amet, consectetur{{% /notice %}}
-{{% notice danger Attention %}}Lorem ipsum dolor sit amet, consectetur{{% /notice %}}
+{{% notice %}}**Lorem !**\
+ ipsum dolor sit amet, consectetur.{{% /notice %}}
+{{% notice warning %}}**Lorem** ipsum dolor sit amet, consectetur{{% /notice %}}
+{{% notice danger Attention %}}ipsum dolor sit amet{{% /notice %}}
{{% expand "Show shortcode markups..." %}}
```
{{%/* notice success %}}Lorem ipsum dolor sit amet, consectetur{{% /notice %}}
- {{% notice %}}Lorem ipsum dolor sit amet, consectetur{{% /notice %}}
- {{% notice warning %}}Lorem ipsum dolor sit amet, consectetur{{% /notice %}}
- {{% notice danger Attention %}}Lorem ipsum dolor sit amet, consectetur{{% /notice */%}}
+ {{% notice %}}**Lorem !**\
+ ipsum dolor sit amet, consectetur.{{% /notice %}}
+ {{% notice warning Warning%}}**Lorem** ipsum dolor sit amet, consectetur{{% /notice %}}
+ {{% notice danger Attention %}}ipsum dolor sit amet{{% /notice{{% /notice */%}}
```
{{% /expand %}}
@@ -56,7 +58,7 @@ You may add a label to your notice which will be displayed on top of it.
| Type | code |
|:--|--:|
| {{% notice primary %}}This is a notice without label.{{% /notice %}} | <small>{{%/* notice primary %}}This is a notice without label.{{% /notice */%}}</small> |
-| {{% notice primary toto %}}This is a notice with "toto" label.{{% /notice %}} | <small>{{%/* notice primary toto %}}This is a notice with "toto" label.{{% /notice */%}}</small> |
-| {{% notice primary "my label" %}}This is a with "my label".{{% /notice %}} | <small>{{%/* notice primary "my label" %}}This is a with "my label".{{% /notice */%}}</small> |
+| {{% notice primary toto %}}This is a notice with "toto" label.{{% /notice %}} | <small>{{%/* notice primary **toto** %}}This is a notice with "toto" label.{{% /notice */%}}</small> |
+| {{% notice primary "my label" %}}This is a with "my label".{{% /notice %}} | <small>{{%/* notice primary **"my label"** %}}This is a with "my label".{{% /notice */%}}</small> |