summaryrefslogtreecommitdiff
path: root/lib/style-reader.js
diff options
context:
space:
mode:
Diffstat (limited to 'lib/style-reader.js')
-rw-r--r--lib/style-reader.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js
index 6d36c42..d732181 100644
--- a/lib/style-reader.js
+++ b/lib/style-reader.js
@@ -121,11 +121,13 @@ function documentMatcherRule() {
return createMatcher(matcherOptions);
});
+ var bold = identifierToConstant("b", documentMatchers.bold);
var underline = identifierToConstant("u", documentMatchers.underline);
var strikethrough = identifierToConstant("strike", documentMatchers.strikethrough);
return lop.rules.firstOf("element type",
paragraphOrRun,
+ bold,
underline,
strikethrough
);