alerts 漂亮格式的提示块
这个插件可以将将块引用
转换为漂亮的提示格式
的信息。
配置使用方法:
{
"plugins": ["alerts"]
}
目前支持 4 种提示的类型:info
,warning
,danger
,success
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.