This commit is contained in:
Unisko PENG, 2023-01-13 09:49:00 +08:00
parent cb7e5ca4c7
commit 3cffd7d4dd
3 changed files with 7 additions and 1 deletions

View File

@ -62,7 +62,8 @@
"tag": "b"
},
"add-js-css": {
"css": [ "./custom-style.css" ]
"css": [ "./custom_style.css" ],
"js": [ "./custom_script.js" ]
},
"navigation": {
"navigatorList": [

5
custom_script.js Normal file
View File

@ -0,0 +1,5 @@
var honkit_link = $('a[class=gitbook-link]');
var text = honkit_link.text();
honkit_link.parent().html(`<span style="align: center;">${text}</span>`);