aboutsummaryrefslogtreecommitdiff
path: root/lib/style-reader.js
diff options
context:
space:
mode:
authorvgmoose <me@vgmoose.com>2017-07-19 16:26:35 -0400
committervgmoose <me@vgmoose.com>2017-07-19 17:24:11 -0400
commit9c9cb3e30d7cae37b42537e59ba38571a9e06097 (patch)
treeaa9cc3096cdf484fcffba4a9513283cf00894ddb /lib/style-reader.js
parent534f62e0684af52766adf82b8fd5dbf796e018db (diff)
Parse small caps style mappings (see #123)
Diffstat (limited to 'lib/style-reader.js')
-rw-r--r--lib/style-reader.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js
index 3a71ef6..32a2920 100644
--- a/lib/style-reader.js
+++ b/lib/style-reader.js
@@ -159,6 +159,8 @@ function documentMatcherRule() {
// TODO: handle unknown document matchers
}
});
+
+ var smallCaps = identifierToConstant("smallCaps", documentMatchers.smallCaps);
return lop.rules.firstOf("element type",
paragraphOrRun,
@@ -167,7 +169,8 @@ function documentMatcherRule() {
underline,
strikethrough,
commentReference,
- breakMatcher
+ breakMatcher,
+ smallCaps
);
}