Markdown Syntax
:::success
is a Markdown syntax used to create tooltips with different colors. This syntax is often used in documents to provide different information types, such as success, warning, information, etc.
Here are a few common examples:
-
Success prompt box:
:::success
This is a successful tip!
::: -
Warning prompt box:
:::warning
Be careful! Something might go wrong!
::: -
Information prompt box:
:::info
This is a general informational prompt.
::: -
Error message box:
:::error
Oops! Something went wrong!
:::
Different Markdown renderers or platforms (such as GitHub, GitLab, MkDocs, etc.) may display tooltips in different colors based on these tags. Generally speaking, success
is green, warning
is yellow, info
is blue, and error
is red.