diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-03-08 17:26:36 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-03-08 17:26:36 +0100 |
commit | ccac3d2c3cd1897047a75a01fca3c537e17434b0 (patch) | |
tree | 0a2b96fbe2c9b0da2c052406b4c1c2bce57a2986 /docs/pages.md | |
parent | f07278490fe2fe4f7f8f60ddd511d14006e4d6d9 (diff) | |
download | gitbook-ccac3d2c3cd1897047a75a01fca3c537e17434b0.zip gitbook-ccac3d2c3cd1897047a75a01fca3c537e17434b0.tar.gz gitbook-ccac3d2c3cd1897047a75a01fca3c537e17434b0.tar.bz2 |
Publish compleet reference of markdown syntax for gitbook
Diffstat (limited to 'docs/pages.md')
-rw-r--r-- | docs/pages.md | 28 |
1 files changed, 26 insertions, 2 deletions
diff --git a/docs/pages.md b/docs/pages.md index 6bff096..335008d 100644 --- a/docs/pages.md +++ b/docs/pages.md @@ -23,7 +23,27 @@ Adding a nested list to a parent chapter will create subchapters. Each chapter has a dedicated page (`part#/README.md`) and is split into subchapters. -##### Example with subchapters split into parts +##### Anchors + +Chaptersi n the Table of Contents can be pointing to specific part of a file using anchor. + +```markdown +# Summary + +### Part I + +* [Part I](part1/README.md) + * [Writing is nice](part1/README.md#writing) + * [GitBook is nice](part1/README.md#gitbook) +* [Part II](part2/README.md) + * [We love feedback](part2/README.md#feedback) + * [Better tools for authors](part2/README.md#tools) +``` + + +##### Parts + +The Table of Contents can be divided into parts separated by headings or horizontal lines: ```markdown # Summary @@ -37,9 +57,13 @@ Each chapter has a dedicated page (`part#/README.md`) and is split into subchapt * [We love feedback](part2/feedback_please.md) * [Better tools for authors](part2/better_tools.md) + +---- + +* [Last part without title](part3/title.md) ``` -Here, parts are just groups of chapters and do not have dedicated pages, but will show in the navigation for example. +Parts are just groups of chapters and do not have dedicated pages, but according to the theme, it will show in the navigation. ### Pages |