aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2015-05-17 16:20:43 +0100
committerMichael Williamson <mike@zwobble.org>2015-05-17 16:20:43 +0100
commitfc5b5a22f9b9be138da18d38a67224171663c2f9 (patch)
tree1eeba35c07a1713908f0935cdc3c8c4e903541fd /README.md
parent969d80c62e7d5d5ed41a3dc7ec8f5f8bdec59a91 (diff)
Add ignoreEmptyParagraphs option
Diffstat (limited to 'README.md')
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 04fcfc6..238685f 100644
--- a/README.md
+++ b/README.md
@@ -301,6 +301,9 @@ Converts the source document to HTML.
* `convertUnderline`: by default, the underlining of any text is ignored.
Set this option to [`mammoth.underline.element(name)`](#underline) to override the default behaviour.
+
+ * `ignoreEmptyParagraphs`: by default, empty paragraphs are ignored.
+ Set this option to `false` to preserve empty paragraphs in the output.
* Returns a promise containing a result.
This result has the following properties: