aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2014-01-07 23:18:39 +0000
committerMichael Williamson <mike@zwobble.org>2014-01-07 23:18:39 +0000
commitb5960b8c6ae98f6db8ab058f47da4a7bdf963339 (patch)
tree7b9b555c96849c380450b7078ef688d6b08ce752
parent02bfe40415333dcbd1e745351231f75a9e341d97 (diff)
Fix nested lists
-rw-r--r--README.md26
1 files changed, 13 insertions, 13 deletions
diff --git a/README.md b/README.md
index 8a56afe..ff83a1a 100644
--- a/README.md
+++ b/README.md
@@ -93,24 +93,24 @@ Converts the source document to HTML.
* `options` (optional): options for the conversion.
May have the following properties:
-** `styleMap`: controls the mapping of Word styles to HTML.
- If `options.styleMap` is a string,
- each non-blank line is treated as a separate style mapping.
- If `options.styleMap` is an array,
- each element is expected to be the result of a call to `mammoth.styleMapping`.
- See "Writing style maps" for a reference to the syntax for style maps.
-
-** `includeDefaultStyleMap`: by default,
- the style map passed in `styleMap` is combined with the default style map.
- To stop using the default style map altogether,
- set `options.includeDefaultStyleMap` to `false`.
+ * `styleMap`: controls the mapping of Word styles to HTML.
+ If `options.styleMap` is a string,
+ each non-blank line is treated as a separate style mapping.
+ If `options.styleMap` is an array,
+ each element is expected to be the result of a call to `mammoth.styleMapping`.
+ See "Writing style maps" for a reference to the syntax for style maps.
+
+ * `includeDefaultStyleMap`: by default,
+ the style map passed in `styleMap` is combined with the default style map.
+ To stop using the default style map altogether,
+ set `options.includeDefaultStyleMap` to `false`.
* Returns a promise containing a result.
This result has the following properties:
-** `value`: the generated HTML
+ * `value`: the generated HTML
-** `messages`: any messages, such as errors and warnings, generated during the conversion
+ * `messages`: any messages, such as errors and warnings, generated during the conversion
#### `mammoth.styleMapping(string)`