alerts 漂亮格式的提示块

这个插件可以将将块引用转换为漂亮的提示格式的信息。

配置使用方法:

{
    "plugins": ["alerts"]
}

目前支持 4 种提示的类型:infowarningdangersuccess

Info styling

> **[info] For info**
>
> Use this for infomation messages.

Warning styling

> **[warning] For warning**
>
> Use this for warning messages.

Danger styling

> **[danger] For danger**
>
> Use this for danger messages.

Success styling

> **[success] For info**
>
> Use this for success messages.

插件参考地址:https://www.npmjs.com/package/gitbook-plugin-alerts

效果预览:

Info styling:

[info] For info

Use this for infomation messages.

Warning styling:

[warning] For warning

Use this for warning messages.

Danger styling:

[danger] For danger

Use this for danger messages.

Success styling:

[success] For info

Use this for success messages.

Copyright ©JiangMing all right reserved,licensed by MIT更新时间: 2021-03-28 21:20:22

results matching ""

    No results matching ""