mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-09 05:44:23 +00:00
chore(snippets): markdown banners
This commit is contained in:
17
snippets/alert.md
Normal file
17
snippets/alert.md
Normal file
@@ -0,0 +1,17 @@
|
||||
<!-- markdownlint-disable-file MD041 -->
|
||||
|
||||
<div class="alert" style="
|
||||
background-color: rgba(255,0,0,0.0625);
|
||||
border: solid tomato; /* #FF6347 */
|
||||
margin: 1em 0;
|
||||
padding: 1em 1em 0;
|
||||
">
|
||||
<header style="
|
||||
font-weight: bold;
|
||||
margin-bottom: 0.5em;
|
||||
text-align: center;
|
||||
">🛑 Alert 🛑</header>
|
||||
|
||||
content
|
||||
|
||||
</div>
|
||||
13
snippets/tip.md
Normal file
13
snippets/tip.md
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- markdownlint-disable-file MD041 -->
|
||||
|
||||
<div class="tip" style="
|
||||
background-color: rgba(0,255,0,0.0625);
|
||||
border: solid lightGreen; /* #90EE90 */
|
||||
margin: 1em 0;
|
||||
padding: 1em 1em 0;
|
||||
">
|
||||
<header style="font-weight: bold; margin-bottom: 0.5em">Pro tip</header>
|
||||
|
||||
content
|
||||
|
||||
</div>
|
||||
13
snippets/warning.md
Normal file
13
snippets/warning.md
Normal file
@@ -0,0 +1,13 @@
|
||||
<!-- markdownlint-disable-file MD041 -->
|
||||
|
||||
<div class="warning" style="
|
||||
background-color: rgba(255,255,0,0.0625);
|
||||
border: solid yellow; /* #FFFF00 */
|
||||
margin: 1em 0;
|
||||
padding: 1em 1em 0;
|
||||
">
|
||||
<header style="font-weight: bold; margin-bottom: 0.5em">⚠ Warning ⚠️</header>
|
||||
|
||||
content
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user