From b75fad95da8e77895791d2eab723212b7c5b9f98 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Fri, 3 May 2013 16:55:54 +0100 Subject: Add basic support for lists by using ListParagraph style --- lib/index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/index.js b/lib/index.js index 59cf927..d2ccabd 100644 --- a/lib/index.js +++ b/lib/index.js @@ -11,7 +11,11 @@ exports.standardOptions = { "Heading1": htmlPaths.topLevelElement("h1"), "Heading2": htmlPaths.topLevelElement("h2"), "Heading3": htmlPaths.topLevelElement("h3"), - "Heading4": htmlPaths.topLevelElement("h4") + "Heading4": htmlPaths.topLevelElement("h4"), + "ListParagraph": htmlPaths.elements([ + htmlPaths.element("ul"), + htmlPaths.element("li", {}, {fresh: true}) + ]) } }; -- cgit v1.2.3