希望可以支持自定义容器
在vuepress和vitepress中都支持,类似这样的语法
::: info
Something
:::
效果是这样:
试试这个:
> [!NOTE]
> Highlights information that users should take into account, even when [skimming](https://zhida.zhihu.com/search?content_id=236758425&content_type=Article&match_order=1&q=skimming&zhida_source=entity).
> [!TIP]
> Optional information to help a user be more successful.
> [!IMPORTANT]
> Crucial information necessary for users to succeed.
> [!WARNING]
> Critical content demanding immediate user attention due to potential risks.
> [!CAUTION]
> Negative potential consequences of an action.
[!NOTE]
Highlights information that users should take into account, even when skimming.
[!TIP] Optional information to help a user be more successful.
[!IMPORTANT]
Crucial information necessary for users to succeed.
[!WARNING]
Critical content demanding immediate user attention due to potential risks.
[!CAUTION] Negative potential consequences of an action.
试试这个:
[!NOTE]
Highlights information that users should take into account, even when skimming.[!TIP] Optional information to help a user be more successful.
[!IMPORTANT]
Crucial information necessary for users to succeed.[!WARNING]
Critical content demanding immediate user attention due to potential risks.[!CAUTION] Negative potential consequences of an action. Note
Highlights information that users should take into account, even when skimming.
Tip
Optional information to help a user be more successful.
Important
Crucial information necessary for users to succeed.
Warning
Critical content demanding immediate user attention due to potential risks.
Caution
Negative potential consequences of an action.
这个样式上是OK的,但因为我自己同时也在写vuepress博客,这个语法就不兼容,如果能兼容一下我说的那种语法就太感谢了