Welcome to little lamb

Code » qmdoc » commit cbaed51

Change how alert boxes will work

author Olivier Brunel
2022-12-24 19:35:56 UTC
committer Olivier Brunel
2022-12-24 19:36:25 UTC
parent ab6afd18835f2329500c64dce0f012f71acb2883

Change how alert boxes will work

That is, let's not go for HTML-liek tags, because that's not really the
MarkDown "philosophy" of having a text document that looks like a
regular one.

This way it feels much more "natural" I think.

base.md +16 -6

diff --git a/base.md b/base.md
index c1cff78..25000d7 100644
--- a/base.md
+++ b/base.md
@@ -118,8 +118,10 @@ about. So...
 You can use <kbd>Alt</kbd> + <kbd>C</kbd>, <kbd>Space</kbd> or the famous
 <kbd>any</kbd> key.
 
-<info title="Confession">Okay, this isn't anything from ``qmdoc`` really.
-That's just a plain old HTML tag, which we styled nicely. Still.</info>
+!!! INFO: Confession
+Okay, this isn't anything from ``qmdoc`` really.
+That's just a plain old HTML tag, which we styled nicely. Still.
+!!!
 
 ## Buttons
 
@@ -135,14 +137,22 @@ about <kbd>Ctrl</kbd> + <mbl> or similar.
 
 A few boxes that can be useful from time to time : \
 First, we have hints :
-<hint>Here goes a hint.</hint>
+!!! HINT:
+Here goes a hint.
+!!!
 
 Then basic informations :
-<info>Here goes some information.</info>
+!!! INFO:
+Here goes some information.
+!!!
 
 The usual warnings :
-<warn>Here goes a warning.</warn>
+!!! WARNING:
+Here goes a warning.
+!!!
 
 And finally simple notes :
-<note>This is a note.</note>
+!!! NOTE:
+This is a note.
+!!!