From 9bde4f67aefc04981dacdace0e553e3ffb6aab2d Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Tue, 22 Apr 2014 14:00:27 +0100 Subject: Add default matchers by name --- lib/options-reader.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib') diff --git a/lib/options-reader.js b/lib/options-reader.js index fa807a3..51af0b0 100644 --- a/lib/options-reader.js +++ b/lib/options-reader.js @@ -11,6 +11,10 @@ var standardOptions = exports._standardOptions = { style("p.Heading2 => h2:fresh"), style("p.Heading3 => h3:fresh"), style("p.Heading4 => h4:fresh"), + style("p[name='Heading 1'] => h1:fresh"), + style("p[name='Heading 2'] => h2:fresh"), + style("p[name='Heading 3'] => h3:fresh"), + style("p[name='Heading 4'] => h4:fresh"), style("p:unordered-list(1) => ul > li:fresh"), style("p:unordered-list(2) => ul|ol > li > ul > li:fresh"), style("p:unordered-list(3) => ul|ol > li > ul|ol > li > ul > li:fresh"), -- cgit v1.2.3