luoheng23

问题:

gitbook不支持markdownTOC命令自动生成目录。

解决方案:

使用gitbook插件gitbook-plugin-toc
book.json中添加

{
    "plugins": ["toc"]
}

book.json所在目录运行gitbook install,安装完成后,在使用TOC命令的地方使用<!-- toc -->代替。即可自动生成文档目录。

分类:

技术点:

相关文章:

  • 2022-02-02
  • 2022-12-23
  • 2021-12-18
  • 2021-12-18
  • 2021-12-27
  • 2021-12-24
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-26
  • 2021-09-26
  • 2021-11-17
  • 2021-11-15
  • 2021-08-04
  • 2022-02-08
相关资源
相似解决方案