You can get it's beauty by visiting https://www.modnar.zone/swift-book/.
Add the theme to your book's configuration book.json
or book.js
:
module.exports = {
...
plugins : ['theme-canyon'],
pluginsConfig : {
'theme-canyon' : {
'search-placeholder' : '🔍 输入搜索内容…' // 搜索框提示信息
}
}
};
Enter the command in your bash:
$ gitbook install
If it not works, you can also clone the repo to your environment and move it to node_modules
directory manually.
plugins :
[
'-lunr', '-search', '-sharing', '-fontsettings', 'search-pro',
'code', 'back-to-top-button', 'cuav-chapters', 'theme-canyon'
]
The project development base on gitbook-theme-fexa with some new features in CSS3
.
And canyon is just the first word appeared on my words book yesterday. Have fun!