changeset 28:1a9a76f94955

Add alerts in markdown style
author David Demelier <markand@malikania.fr>
date Fri, 25 May 2018 16:11:49 +0200
parents 0706d01e073f
children 32a0b02e3c69
files STYLE.md
diffstat 1 files changed, 17 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/STYLE.md	Fri May 25 15:49:08 2018 +0200
+++ b/STYLE.md	Fri May 25 16:11:49 2018 +0200
@@ -581,3 +581,20 @@
 |----------|----------|
 | item 1   | item 2   |
 ```
+
+Alerts
+------
+
+It's possible to prefix a paragraph by one of the following topic, it renders a
+different block depending on the output format:
+
+- Note:
+- Warning:
+- Danger:
+
+Then, if the paragraph is too long, indent the text correctly.
+
+```markdown
+Note: this is an information block that is too long to fit between the limits so
+      it is split and indented.
+```