Sha256: 87f46bdf9ebc3eda9a6d68132d50733b71a07c1a0bc1981dd513913929bbf2d7

Contents?: true

Size: 1.01 KB

Versions: 18

Compression:

Stored size: 1.01 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

18 entries across 18 versions & 1 rubygems

Version Path
verku-0.16.10 templates/text/02-Creating-Chapters.md
verku-0.16.9 templates/text/02-Creating-Chapters.md
verku-0.16.8 templates/text/02-Creating-Chapters.md
verku-0.16.7 templates/text/02-Creating-Chapters.md
verku-0.16.6 templates/text/02-Creating-Chapters.md
verku-0.16.5 templates/text/02-Creating-Chapters.md
verku-0.16.4 templates/text/02-Creating-Chapters.md
verku-0.16.3 templates/text/02-Creating-Chapters.md
verku-0.16.2 templates/text/02-Creating-Chapters.md
verku-0.16.1 templates/text/02-Creating-Chapters.md
verku-0.16.0 templates/text/02-Creating-Chapters.md
verku-0.15.0 templates/text/02-Creating-Chapters.md
verku-0.14.1 templates/text/02-Creating-Chapters.md
verku-0.14.0 templates/text/02-Creating-Chapters.md
verku-0.10.1 templates/text/02-Creating-Chapters.md
verku-0.10.0 templates/text/02-Creating-Chapters.md
verku-0.8.1.0 templates/text/02-Creating-Chapters.md
verku-0.8.0.p templates/text/02-Creating-Chapters.md