如何制作多级目录

GitBook使用SUMMURY.md文件实现目录结构的设定,在该文件中,可以通过缩进实现多级目录的效果,如:

* [第一章](section1/README.md)
    * [第一节](section1/example1.md)
    * [第二节](section1/example2.md)
* [第二章](section2/README.md)
    * [第一节](section2/example1.md)

如上所示,章节的md文件,还可以存放在子文件夹中。另外,GitBook的目录,限定为三级。

用户还可以通过使用标题或者水平分割线标识将GitBook目录分为几个不同的部分:

# Summary

### Part I

* [Introduction](README.md)
* [Writing is nice](part1/writing.md)
* [GitBook is nice](part1/gitbook.md)

### Part II

* [We love feedback](part2/feedback_please.md)
* [Better tools for authors](part2/better_tools.md)

----

* [Last part without title](part3/title.md)

results matching ""

    No results matching ""