summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDan Allen <dan.j.allen@gmail.com>2016-09-11 14:12:57 -0600
committerDan Allen <dan.j.allen@gmail.com>2016-09-11 14:12:57 -0600
commit6eeef16ff016e1a2b2d934d288df35a1de8e27f0 (patch)
tree28c7039edda6c0ce28be1adf46a62ab56ddfa182 /docs
parent949917ab20076a621e9c6d80e976539385ec45c4 (diff)
use multiline syntax in theming guide to specify a fallback font
Diffstat (limited to 'docs')
-rw-r--r--docs/theming-guide.adoc10
1 files changed, 6 insertions, 4 deletions
diff --git a/docs/theming-guide.adoc b/docs/theming-guide.adoc
index 338f4337..c9c8ec00 100644
--- a/docs/theming-guide.adoc
+++ b/docs/theming-guide.adoc
@@ -717,8 +717,9 @@ font:
bold_italic: droid-sans-fallback.ttf
----
-Next, assign the key to the `fallbacks` key under the `font_catalog` key.
-Be sure to surround the key name in square brackets as shown below.
+Next, add the key name to the `fallbacks` key under the `font_catalog` key.
+The `fallbacks` key accepts an array of values, meaning you can specify more than one fallback font.
+However, we recommend using a single fallback font, if possible, as shown here:
[source,yaml]
----
@@ -734,10 +735,11 @@ font:
italic: droid-sans-fallback.ttf
bold: droid-sans-fallback.ttf
bold_italic: droid-sans-fallback.ttf
- fallbacks: [DroidSansFallback]
+ fallbacks:
+ - DroidSansFallback
----
-TIP: If you are using more than one fallback font, separate each key name by a comma.
+TIP: If you are using more than one fallback font, add additional lines to the `fallbacks` key.
That's it!
Now you're covered.