summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2016-02-18 17:50:10 +0100
committerSamy Pessé <samypesse@gmail.com>2016-02-18 17:50:10 +0100
commit3d3302e547929a4f728aefa89ad7634f234fa726 (patch)
treeb6961ce750ea9dc1c6ffea36e3054047238f8d54 /docs
parent95d81d02a12dc6ae5e9d845e2eb69b7e1dc1debd (diff)
downloadgitbook-3d3302e547929a4f728aefa89ad7634f234fa726.zip
gitbook-3d3302e547929a4f728aefa89ad7634f234fa726.tar.gz
gitbook-3d3302e547929a4f728aefa89ad7634f234fa726.tar.bz2
Add detection of text direction and provide: 'page.dir'
Diffstat (limited to 'docs')
-rw-r--r--docs/variables.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/variables.md b/docs/variables.md
index fb85463..aaa9601 100644
--- a/docs/variables.md
+++ b/docs/variables.md
@@ -41,6 +41,7 @@ The following is a reference of the available data during book's parsing and the
| `page.title` | Title of the page |
| `page.previous` | Previous page in the Table of Contents (can be `null`) |
| `page.next` | Next page in the Table of Contents (can be `null`) |
+| `page.dir` | Text direction, based on configuration or detected from content (`rtl` or `ltr`) |
#### Table of Contents Variables