diff options
| author | Michael Williamson <mike@zwobble.org> | 2013-05-03 16:55:54 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2013-05-03 16:55:54 +0100 |
| commit | b75fad95da8e77895791d2eab723212b7c5b9f98 (patch) | |
| tree | acbafb06b97b29cd87adef03eb697a98b538d639 /lib | |
| parent | 5e21f1356d3ca5a77068e790f72fe8a2f286d568 (diff) | |
Add basic support for lists by using ListParagraph style
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
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}) + ]) } }; |
