diff options
author | Olivier DOSSMANN <git@dossmann.net> | 2017-06-25 21:08:58 +0300 |
---|---|---|
committer | Olivier DOSSMANN <git@dossmann.net> | 2017-06-25 21:08:58 +0300 |
commit | f3b4fd10eafc7ee68c4b27ec7d7e437044876f00 (patch) | |
tree | 705e3a251c5c5eeb41bc3b640be94661d6651296 /README.md | |
parent | 445c3088093fc498cdb1b07b82d376de1e8d97b3 (diff) |
New 'note' shortcode with 4 specific display:
* warning (red)
* important (yellow)
* tip (green)
* normal (blue)
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -71,3 +71,22 @@ This shortcode will use `relref` Hugo command to create a relative link to the g ``` {{< internal "Magic potion" "section/my_internal_page.md" >}} ``` + +## note + +Display a sidebar with a specific background color to show readers something important. + +We have 4 sidebar models: + + * warning (red) + * important (yellow) + * tip (green) + * normal (blue) + +Example: + +``` +{{% note warning %}} +Pay attention to read this **entire page** before applying what you read! +{{% /note %}} +``` |