blob: 491ec33857dbbe0f9d40a7c55512232fad9720f8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
# 0.3.16
* Add basic support for Markdown. Not all features are currently supported.
# 0.3.15
* Add default style mappings for builtin footnote and endnote styles in
Microsoft Word and LibreOffice.
* Allow style mappings with a zero-element HTML path.
* Emit warnings when image types are unlikely to be supported by web browsers.
* Update jszip to 2.4.0.
# 0.3.14
* Add support for endnotes.
# 0.3.13
* Update license-sniffer to fix license comments in mammoth.browser.js.
# 0.3.12
* Update bluebird dependency to fix operation in web workers.
# 0.3.11
* Add support for superscript and subscript text.
# 0.3.10
* Handle XML files that start with the UTF-8 BOM.
# 0.3.9
* Add support for reading Buffer instances.
# 0.3.8
* Add support for line breaks.
# 0.3.7
* Add optional underline conversion.
# 0.3.6
* Add helper `mammoth.transforms.paragraph`.
# 0.3.5
* Add `mammoth.images.inline`, and document custom image conversion.
# 0.3.4
* Add the function `mammoth.extractRawText`.
# 0.3.3
* Add support for tables.
# 0.3.2
* Add support for footnotes.
# 0.3.1
* Fix: all non-paragraph styles are treated as character styles when reading
styles from a docx document.
# 0.3.0
* Rename the existing concept of a "style name" to "style ID" to correspond to
the terminology used internally in docx files. Any document transforms that
get or set the `styleName` property should use the `styleId` property instead.
* Allow paragraphs and runs to be matched by style name. For instance, to match
a paragraph with the style name `Heading 1`:
p[style-name='Heading 1']
* Use an array of raw strings rather than an array of style mappings when
passing options to convertToHtml.
* Add support for node 0.11 (tested on node 0.11.13).
# 0.2.2
* Fix: exception when bad arguments are passed into unzip.openZip.
# 0.2.1
* Fix browserify support.
# 0.2.0
* Rename mammoth.style() to mammoth.styleMapping().
* Add support for document transforms.
* Append standard style map to custom style map unless explicitly excluded.
|