From 9c9cb3e30d7cae37b42537e59ba38571a9e06097 Mon Sep 17 00:00:00 2001 From: vgmoose Date: Wed, 19 Jul 2017 16:26:35 -0400 Subject: Parse small caps style mappings (see #123) --- lib/style-reader.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'lib/style-reader.js') 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 ); } -- cgit v1.2.3