Skip to content

Admonitions Test

MkDocs Material extends Markdown with admonitions for highlighted content. These require the admonition and pymdownx.details extensions.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
!!! prompt
    Prompt text can be copied into the paste buffer
    by selecting the "Copy" button in the upper right
    corner of the admonition.

!!! note "Optional explicit title"
    This is a note admonition.

!!! tip
    This is a tip.

!!! warning
    This is a warning.

!!! danger
    This highlights dangerous actions.

??? question "Collapsible admonition (closed by default)"
    This admonition is collapsible and closed by default.

???+ example "Collapsible admonition (open by default)"
    This admonition is collapsible and open by default.

Prompt

Prompt text can be copied into the paste buffer by selecting the "Copy" button in the upper right corner of the admonition.

Optional explicit title

This is a note admonition.

Tip

This is a tip.

Warning

This is a warning.

Danger

This highlights dangerous actions.

Question Collapsible admonition (closed by default)

This question admonition is collapsible and closed by default.

Collapsible admonition (open by default)

This admonition is collapsible and open by default.