diff --git a/book.json b/book.json index 5933ab4..3d13255 100644 --- a/book.json +++ b/book.json @@ -62,7 +62,8 @@ "tag": "b" }, "add-js-css": { - "css": [ "./custom-style.css" ] + "css": [ "./custom_style.css" ], + "js": [ "./custom_script.js" ] }, "navigation": { "navigatorList": [ diff --git a/custom_script.js b/custom_script.js new file mode 100644 index 0000000..7a78b6e --- /dev/null +++ b/custom_script.js @@ -0,0 +1,5 @@ +var honkit_link = $('a[class=gitbook-link]'); + +var text = honkit_link.text(); +honkit_link.parent().html(`${text}`); + diff --git a/custom-style.css b/custom_style.css similarity index 100% rename from custom-style.css rename to custom_style.css