gitbook theme plugin for myibu
Based on jQuery and gitbook api
npm i gitbook-plugin-theme-myibu
or config in your book.json
{
"plugins": [
"theme-myibu"
]
}
- config top navigation menu
{
"pluginsConfig": {
"myibuConfig": {
"topMenus": [
{
"url": "XXX",
"name": "title1"
},
{
"url": "XXX",
"name": "title2"
},
{
"url": "XXX",
"name": "title3"
}
]
}
}
}
- add page inner navgation
- add chapter expand
- add code
- add top navigation menu
- replace iconfont with fontawesome(version 4.6.3, see https://fontawesome.com/v4/icons/)
- fix bug: code can not scroll
- add page header
- fix bug: topMenu home link can not visit
- add splitter