gitbook 插件 背景设置

gitbook 插件 背景设置

1. change_girls 插件

change_girls插件功能是设置背景,并可自动切换的背景图片

1.1 安装

npm i gitbook-plugin-change_girls

1.2 配置

book.json配置:

{
    
    
    "plugins":["change_girls"],
    "pluginsConfig": {
    
    
        "change_girls" : {
    
    
            "time" : 10,
            "urls" : [
                "https://www.bizhishe.com/d/file/2019-08-26/1566827846505876.jpg", "https://www.bizhishe.com/d/file/2019-07-24/1563977671157231.jpg", "https://www.bizhishe.com/d/file/2019-07-14/1563116649970786.jpg"
            ]
        }
    }
}

1.3 效果

在这里插入图片描述

猜你喜欢

转载自blog.csdn.net/xixihahalelehehe/article/details/125124343