Sha256: bbb16d3faf1542b09069cfe7f237448fdd3bc651532b3566ce689a59a65411c7

Contents?: true

Size: 1.03 KB

Versions: 5

Compression:

Stored size: 1.03 KB

Contents

## Creating Chapters

You can create chapters by having multiple files or directories. They're
alphabetically sorted, so make sure you use a prefixed file name like
`01_Introduction.md` as the file name.

If you're going to write a long book, make sure you use the directory
organization. This way you can have smaller text files, which will be easier to
read and change as you go. A file structure suggestion for a book about
[Ruby on Rails](http://guides.rubyonrails.com) would be:

```text
getting-started-with-rails
├── text
    └── 01_Guide_Assumptions.md
    └── 02_Whats_Rails.md
    └── 03_Creating_A_New_Project
        └── 01_Installing_Rails.md
        └── 02_Creating_The_Blog_Application.md
    └── 04_Hello_Rails
        └── 01_Starting_Up_The_Web_Server.md
        └── 02_Say_Hello_Rails.md
        └── 03_Setting_The_Application_Home_Page.md
    └── ...
```

Notice that the file name does not need to be readable, but it will make your
life easier.

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
kitabu-3.1.0 templates/text/02_Creating_Chapters.md
kitabu-3.0.3 templates/text/02_Creating_Chapters.md
kitabu-3.0.2 templates/text/02_Creating_Chapters.md
kitabu-3.0.1 templates/text/02_Creating_Chapters.md
kitabu-3.0.0 templates/text/02_Creating_Chapters.md