Fix `text-direction` in documentation.

This commit is contained in:
Eric Huss 2023-09-29 14:33:20 -07:00
parent 0583119698
commit cf19eb1386
1 changed files with 1 additions and 1 deletions

View File

@ -47,7 +47,7 @@ This is general information about your book.
key in the configuration file.
- **language:** The main language of the book, which is used as a language attribute `<html lang="en">` for example.
This is also used to derive the direction of text (RTL, LTR) within the book.
- **text_direction**: The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL). Possible values: `ltr`, `rtl`.
- **text-direction**: The direction of text in the book: Left-to-right (LTR) or Right-to-left (RTL). Possible values: `ltr`, `rtl`.
When not specified, the text direction is derived from the book's `language` attribute.
**book.toml**