diff options
| author | Michael Williamson <mike@zwobble.org> | 2014-01-07 23:18:39 +0000 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2014-01-07 23:18:39 +0000 |
| commit | b5960b8c6ae98f6db8ab058f47da4a7bdf963339 (patch) | |
| tree | 7b9b555c96849c380450b7078ef688d6b08ce752 | |
| parent | 02bfe40415333dcbd1e745351231f75a9e341d97 (diff) | |
Fix nested lists
| -rw-r--r-- | README.md | 26 |
1 files changed, 13 insertions, 13 deletions
@@ -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)` |
