Define the highlight block component through highlight
. Supports 7 highlight color styles (purple, yellow, orange, red, blue, green, gray).Example Effects#
This is highlighted content
This is highlighted content
This is highlighted content
This is highlighted content
This is highlighted content
This is highlighted content
This is highlighted content
:::highlight purple π‘
This is highlighted content
:::
:::highlight yellow π
This is highlighted content
:::
:::highlight orange π
This is highlighted content
:::
:::highlight red π
This is highlighted content
:::
:::highlight gray π
This is highlighted content
:::
:::highlight blue π
This is highlighted content
:::
:::highlight green π
This is highlighted content
:::
The content of the highlight block follows Markdown syntax.Using Icon#
This is highlighted content
:::highlight purple {icon="material-two-tone-storefront"}
This is highlighted content
:::
Without Using Icon#
This is highlighted content
:::highlight purple
This is highlighted content
:::
Multi-level Nesting#
:::::info[Parent]
Parent content
::::danger[Child]
Child content
:::tip[Deep Child]
Deep child content
:::
::::
:::::