diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-03-17 10:41:34 +0100 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-03-17 10:41:34 +0100 |
commit | 2cfbf5411ca10cdf34f5d8442b61f68c9c4c4d9d (patch) | |
tree | 0c3dcf776d08554807af5f5e628f95fa6c476450 /docs | |
parent | f70da1c82a9a92c20a4771a1b321787a98a161c6 (diff) | |
download | gitbook-2cfbf5411ca10cdf34f5d8442b61f68c9c4c4d9d.zip gitbook-2cfbf5411ca10cdf34f5d8442b61f68c9c4c4d9d.tar.gz gitbook-2cfbf5411ca10cdf34f5d8442b61f68c9c4c4d9d.tar.bz2 |
Add question about text direction in the faq
Diffstat (limited to 'docs')
-rw-r--r-- | docs/faq.md | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/docs/faq.md b/docs/faq.md index 0b57b6c..3d595e0 100644 --- a/docs/faq.md +++ b/docs/faq.md @@ -1,5 +1,9 @@ # GitBook FAQ +This page gathers common questions and answers concerning the GitBook format and toolchain. + +Questions about GitBook.com and the Editor are gather into the [help.gitbook.com's FAQ](http://help.gitbook.com/faq.html). + #### How can I host/publish my book? Books can easily be published and hosted on [GitBook.com](https://www.gitbook.com). But GitBook output can be hosted on any static file hosting solution. @@ -10,6 +14,20 @@ Any text editor should work! But we advise using the [GitBook Editor](https://ww --- +#### Does GitBook supports RTL/bi-directional text ? + +The GitBook format supports right to left, and bi-directional writing. To enable it, you either need to specify a language (ex: `ar`), or force GitBook to use RTL in your `book.json`: + +``` json +{ + "language": "ar", + "direction": "rtl" +} +``` + +With version 3.0 of GitBook, it's automatically detected according to the content. +_Note that, while the output book will indeed respect RTL, the Editor doesn't support RTL writing yet_. + #### Should I use an `.html` or `.md` extensions in my links? You should always use paths and the `.md` extensions when linking to your files, GitBook will automatically replace these paths by the appropriate link when the pointing file is referenced in the Table of Contents. |