# BookStack - Fundamentals ## Content Nesting BookStack offers 4 levels of content nesting: - **Shelves** - The top level - **Books** - Used for top level content grouping. Book can belong to several Shelves - **Chapters** - Used to organize low level content elements. - **Pages** - Used to organize low level content elements. Note that pages can also be directly below a book. ## Useful Features BookStack offers a lot of useful features that will help you create beautiful documents in a very efficient way. Here's a list of the most useful features.
FeatureDescription
Keyboard ShortcutsMost formatting options have a keyboard shortcut that allows you write most pages directly from your keyboard.
Code Blocks with Syntax Highlighting Many languages are supported.
**Example** ```fortran program hello write(*,*) 'Hello, Akvo!' end program hello ```
Diagrams, Drawings & Math FormulasYou can create and insert diagrams, drawings and even [math formulas](https://www.diagrams.net/doc/faq/math-typesetting) (LaTeX) using the [Diagrams.net](https://diagrams.net) application. There's even support for [Mermaid](https://www.diagrams.net/blog/mermaid-diagrams).
**Examples**
Collapsible BlocksCollapsible block are useful display content on demand, in particular for long pages.
**Example**
I Dare You To Open 👺 [![image.png](https://wiki.cloud.akvo.org/uploads/images/gallery/2023-04/scaled-1680-/23XNClCGTUorKCuL-image.png)](https://wiki.cloud.akvo.org/uploads/images/gallery/2023-04/23XNClCGTUorKCuL-image.png)
Table FormattingYou can pimp your tables with header and footer rows. See this table as an example.
Ordering ContentYou can change the display order to pages and chapters using the "Sort" menu option on the right pane of a book. See [official documentation](https://www.bookstackapp.com/docs/user/organising-content/#sorting-books).
Full Screen ModeFor distraction free writing you can toggle the fullscreen mode.
TemplatesYou can mark a page as a template so that its content can easily be reused when editing and creating pages. This can be super useful when you need to create many pages following a similar format. See [official documentation](https://www.bookstackapp.com/docs/user/page-templates/).
WebhooksYou can configure webhooks from BookStack in order to perform POST requests to other services (like [n8n](https://n8n.io)). Many (if not all) application events can trigger a webhook. **API Documentation:** [https://wiki.cloud.akvo.org/api/docs](https://wiki.cloud.akvo.org/api/docs)