gitbook-plugin-gtoc
gitbook-plugin-gtoc copied to clipboard
[Outdated] [Deprecated] 为GitBook生成目录结构
TOC is not shown in my book which is using GitBook 3.0 with default theme.
Uncaught TypeError: require.config is not a function(anonymous function) @ gtoc.js:1 不太会前端和node,尝试了很久没有解决。 把3个文件改了改直接加到了gtoc.js里,less不会用,直接改了改css。用gitbook private plugin方式使用了。
gitbook2.6.6没有引入requirejs,require.config报错
Hello, I would like to use your plugin but apparently, importing it in book.json is not enough and i can't figure out how to make it work. Could you explain...
gtoc.js中 require.config使用的相对路径,如果左侧目录超过三级会找不到mod下面的js文件,建立如下修改: require.config({ "baseUrl":document.currentScript.src.replace('gtoc.js', 'mod/') })
作者您好,我的标题关键词有些过长,默认的目录框显示不完全,请问在哪个文件里哪一行可以调整该框的大小?
Here is a full list: ./gtoc.js:8: ], ./gtoc.less:8: overflow: visible; ./gtoc.less:45: ./gtoc.less:60: ./gtoc.less:98: overflow: visible; ./gtoc.less:193: line-height: 18px; ./lesshat.less:260: -webkit-border-bottom-left-radius: @process; -webkit-background-clip: padding-box; ./lesshat.less:261: -moz-border-radius-bottomleft: @process; -moz-background-clip: padding; ./lesshat.less:262: border-bottom-left-radius:...