aboutsummaryrefslogtreecommitdiff
path: root/lib/style-reader.js
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-06-17 15:40:21 +0100
committerMichael Williamson <mike@zwobble.org>2015-06-17 15:40:21 +0100
commita52d99fd85061a9f20b481535407a225d5927434 (patch)
tree6cea0c2d11a263a959df251eb7be1af2455b6440 /lib/style-reader.js
parentdc53892204989de1788081624c65062dc283480a (diff)
Allow strikethrough to be configured in style mapping
Diffstat (limited to 'lib/style-reader.js')
-rw-r--r--lib/style-reader.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/style-reader.js b/lib/style-reader.js
index 811e06e..2560971 100644
--- a/lib/style-reader.js
+++ b/lib/style-reader.js
@@ -121,10 +121,12 @@ function documentMatcherRule() {
});
var underline = identifierToConstant("u", documentMatchers.underline);
+ var strikethrough = identifierToConstant("strike", documentMatchers.strikethrough);
return lop.rules.firstOf("element type",
paragraphOrRun,
- underline
+ underline,
+ strikethrough
);
}