File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Examples of using Alerts, Admonitions, or Callouts
22
3- ## Examples
3+ ## Alert Examples
44
5- A note...
5+ ### Note
66
77> [ !NOTE]
88> Highlights information that users should take into account, even when skimming.
99
10- A tip...
10+ ### Tip
1111
1212> [ !TIP]
1313> Optional information to help a user be more successful.
1414
15- Something important...
15+ ### Important
1616
1717> [ !IMPORTANT]
1818> Crucial information necessary for users to succeed.
1919
20- A warning...
20+ ### Warning
2121
2222> [ !WARNING]
2323> Critical content demanding immediate user attention due to potential risks.
2424
25- Caution...
25+ ### Caution
2626
2727> [ !CAUTION]
2828> Negative potential consequences of an action.
2929
30- Embedding a code -block in an alert:
30+ ### Embedded Code -block
3131
3232> [ !TIP]
3333> Some useful Javascript:
@@ -38,6 +38,19 @@ Embedding a code-block in an alert:
3838> }
3939> ` ` `
4040
41+ ### Nested Alerts
42+
43+ > [!NOTE]
44+ > Highlights information that users should take into account, even when skimming.
45+ > > [!TIP]
46+ > > Optional information to help a user be more successful.
47+ > > > [!IMPORTANT]
48+ > > > Crucial information necessary for users to succeed.
49+ > > > > [!WARNING]
50+ > > > > Critical content demanding immediate user attention due to potential risks.
51+ > > > > > [!CAUTION]
52+ > > > > > Negative potential consequences of an action.
53+
4154## Resources
4255
4356- <https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts>
You can’t perform that action at this time.
0 commit comments