From 50851fc4e29cecddda40d58d0db2135ee4b4c0be Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 25 Feb 2016 19:18:45 +0000 Subject: Parse bold document matcher --- lib/style-reader.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/style-reader.js') 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 ); -- cgit v1.2.3