diff options
| author | vgmoose <me@vgmoose.com> | 2017-07-19 16:26:35 -0400 |
|---|---|---|
| committer | vgmoose <me@vgmoose.com> | 2017-07-19 17:24:11 -0400 |
| commit | 9c9cb3e30d7cae37b42537e59ba38571a9e06097 (patch) | |
| tree | aa9cc3096cdf484fcffba4a9513283cf00894ddb /lib/style-reader.js | |
| parent | 534f62e0684af52766adf82b8fd5dbf796e018db (diff) | |
Parse small caps style mappings (see #123)
Diffstat (limited to 'lib/style-reader.js')
| -rw-r--r-- | lib/style-reader.js | 5 |
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 ); } |
