Table of Contents
chapters & sections
Prima facie, the creation of chapter headings is identical to standard Markdown.
# an H1 header
## an H2 header
...
###### an H6 header
But on second glance, the use of the # headers in OpenBook is markedly different.
- # headers are used to generate chapters.
- Each chapter is an HTML page on the internet.
- ## header generate sections.
- The reader can navigate to each section.
- The Table of Contents is created from the # chapters and ## sections.
- ### sub-sections and lower are disregarded for the Table of Contents. They become ordinary headers.
- When opening a book for the first time, the reader will be taken to Chapter 1.
- A preface may precede the first chapter.
Consider the following example:
preface
======
This text will appear before Chapter 1. Special thanks to my lovely wife Amber, for her patience as I buried myself in this manuscript.
## second edition
Special thanks to my lovely wife Beatrice, for her patience as I buried myself in this manuscript.
## third edition
Special thanks to my lovely wife Charlotte, for her patience as I buried myself in this manuscript.
# The First Chapter
This will be the first sentence a reader encounters.
## Section One
The reader may navigate to this section.
## Section Two
Or to this section.
# The second Chapter
The above opens a new chapter, which is situated on a separate Html page.
Check this book to see the result.
