@pie-lib/math-rendering 3.2.1 → 3.2.2-next.1642
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.json +1 -672
- package/CHANGELOG.md +198 -21
- package/NEXT.CHANGELOG.json +1 -0
- package/lib/mml-to-latex.js +2 -4
- package/lib/mml-to-latex.js.map +1 -1
- package/lib/render-math.js +156 -76
- package/lib/render-math.js.map +1 -1
- package/package.json +4 -3
- package/src/__tests__/mml-to-latex.test.js +14 -0
- package/src/__tests__/normalization.test.js +50 -0
- package/src/__tests__/render-math.test.js +155 -0
- package/src/mml-to-latex.js +2 -2
- package/src/mstack/__tests__/__snapshots__/chtml.test.js.snap +9 -0
- package/src/mstack/__tests__/chtml.test.js +104 -0
- package/src/render-math.js +127 -71
- package/playground/demo.html +0 -958
- package/playground/demo.js +0 -108
- package/playground/main.html +0 -158
- package/playground/main.js +0 -16
- package/playground/webpack.config.js +0 -29
package/CHANGELOG.md
CHANGED
|
@@ -3,103 +3,280 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
# [3.17.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.16.0...@pie-lib/math-rendering@3.17.0) (2025-09-18)
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
### Bug Fixes
|
|
10
10
|
|
|
11
|
-
*
|
|
11
|
+
* **math-rendering:** move mathjax-full back to dependencies ([3073e44](https://github.com/pie-framework/pie-lib/commit/3073e444419d8e52d451df750e8d1d604f23bd3f))
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
# [3.
|
|
17
|
+
# [3.16.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.15.0...@pie-lib/math-rendering@3.16.0) (2025-09-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.15.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.15.0) (2025-09-18)
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
### Bug Fixes
|
|
29
|
+
|
|
30
|
+
* fixed pie-lib/icons import [PD-5126] ([dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f))
|
|
18
31
|
|
|
19
32
|
|
|
20
33
|
### Features
|
|
21
34
|
|
|
22
|
-
*
|
|
35
|
+
* split pie-toolbox into multiple packages [PD-5126] ([7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2))
|
|
23
36
|
|
|
24
37
|
|
|
25
38
|
|
|
26
39
|
|
|
27
40
|
|
|
28
|
-
|
|
41
|
+
# [3.14.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.13.0...@pie-lib/math-rendering@3.14.0) (2025-09-17)
|
|
42
|
+
|
|
43
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
29
44
|
|
|
30
45
|
|
|
31
|
-
### Bug Fixes
|
|
32
46
|
|
|
33
|
-
* force publish ([489a242](https://github.com/pie-framework/pie-lib/commit/489a2421c109fb202b778680f1b57b942e49c86a))
|
|
34
47
|
|
|
35
48
|
|
|
49
|
+
# [3.13.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.12.0...@pie-lib/math-rendering@3.13.0) (2025-09-17)
|
|
50
|
+
|
|
51
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
36
52
|
|
|
37
53
|
|
|
38
54
|
|
|
39
|
-
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
# [3.12.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.11.1...@pie-lib/math-rendering@3.12.0) (2025-09-17)
|
|
58
|
+
|
|
59
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
## [3.11.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.11.1) (2025-08-11)
|
|
40
66
|
|
|
41
67
|
|
|
42
68
|
### Bug Fixes
|
|
43
69
|
|
|
44
|
-
*
|
|
70
|
+
* fixed pie-lib/icons import [PD-5126] ([dcb506c](https://github.com/pie-framework/pie-lib/commit/dcb506c914a177f6d88bf73247a023bfe71dac1f))
|
|
45
71
|
|
|
46
72
|
|
|
73
|
+
### Features
|
|
74
|
+
|
|
75
|
+
* split pie-toolbox into multiple packages [PD-5126] ([7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2))
|
|
76
|
+
|
|
47
77
|
|
|
48
78
|
|
|
49
79
|
|
|
50
|
-
# [3.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.0.0...@pie-lib/math-rendering@3.1.0) (2023-09-20)
|
|
51
80
|
|
|
81
|
+
# [3.11.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.11.0) (2025-08-07)
|
|
52
82
|
|
|
53
83
|
### Features
|
|
54
84
|
|
|
55
|
-
|
|
85
|
+
- split pie-toolbox into multiple packages [PD-5126](<[7d55a25](https://github.com/pie-framework/pie-lib/commit/7d55a2552d084cd3d0d5c00dc77411b2ced2f5e2)>)
|
|
56
86
|
|
|
87
|
+
# [3.10.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.10.0) (2025-07-31)
|
|
57
88
|
|
|
89
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
58
90
|
|
|
91
|
+
# [3.9.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.9.0) (2025-07-31)
|
|
59
92
|
|
|
93
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
60
94
|
|
|
61
|
-
# [3.
|
|
95
|
+
# [3.8.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.8.0) (2025-07-31)
|
|
62
96
|
|
|
97
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
63
98
|
|
|
64
|
-
|
|
99
|
+
# [3.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.7.0) (2025-07-31)
|
|
65
100
|
|
|
66
|
-
|
|
101
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
67
102
|
|
|
103
|
+
# [3.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.6.0) (2025-07-31)
|
|
68
104
|
|
|
69
|
-
|
|
105
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
70
106
|
|
|
71
|
-
|
|
107
|
+
# [3.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.5.0) (2025-07-31)
|
|
72
108
|
|
|
109
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
73
110
|
|
|
111
|
+
# [3.7.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.7.0) (2025-07-31)
|
|
74
112
|
|
|
113
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
75
114
|
|
|
115
|
+
# [3.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.6.0) (2025-07-31)
|
|
76
116
|
|
|
77
|
-
|
|
117
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
78
118
|
|
|
119
|
+
# [3.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.5.0) (2025-07-31)
|
|
79
120
|
|
|
80
|
-
|
|
121
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
81
122
|
|
|
82
|
-
|
|
123
|
+
# [3.6.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.6.0) (2025-07-31)
|
|
83
124
|
|
|
125
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
84
126
|
|
|
127
|
+
# [3.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.5.0) (2025-07-31)
|
|
85
128
|
|
|
129
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
86
130
|
|
|
131
|
+
# [3.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.4.0) (2025-07-31)
|
|
87
132
|
|
|
88
|
-
|
|
133
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
134
|
+
|
|
135
|
+
# [3.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.4.0) (2025-07-31)
|
|
89
136
|
|
|
90
137
|
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
91
138
|
|
|
139
|
+
# [3.5.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.5.0) (2025-07-31)
|
|
92
140
|
|
|
141
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
93
142
|
|
|
143
|
+
# [3.4.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.4.0) (2025-07-31)
|
|
94
144
|
|
|
145
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
95
146
|
|
|
96
|
-
|
|
147
|
+
# [3.3.0-beta.8](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.8) (2025-07-25)
|
|
148
|
+
|
|
149
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
150
|
+
|
|
151
|
+
# [3.3.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.7) (2025-07-25)
|
|
152
|
+
|
|
153
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
154
|
+
|
|
155
|
+
# [3.3.0-beta.7](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.7) (2025-07-25)
|
|
156
|
+
|
|
157
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
158
|
+
|
|
159
|
+
# [3.3.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.6) (2025-07-25)
|
|
160
|
+
|
|
161
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
162
|
+
|
|
163
|
+
# [3.3.0-beta.6](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.6) (2025-07-25)
|
|
164
|
+
|
|
165
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
166
|
+
|
|
167
|
+
# [3.3.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.5) (2025-07-25)
|
|
168
|
+
|
|
169
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
170
|
+
|
|
171
|
+
# [3.3.0-beta.5](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.5) (2025-07-25)
|
|
172
|
+
|
|
173
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
174
|
+
|
|
175
|
+
# [3.3.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.4) (2025-07-25)
|
|
176
|
+
|
|
177
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
178
|
+
|
|
179
|
+
# [3.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.3) (2025-07-25)
|
|
180
|
+
|
|
181
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
182
|
+
|
|
183
|
+
# [3.3.0-beta.4](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.4) (2025-07-23)
|
|
184
|
+
|
|
185
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
186
|
+
|
|
187
|
+
# [3.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.3) (2025-07-23)
|
|
188
|
+
|
|
189
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
190
|
+
|
|
191
|
+
# [3.3.0-beta.3](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.3) (2025-07-20)
|
|
192
|
+
|
|
193
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
194
|
+
|
|
195
|
+
# [3.3.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.2) (2025-07-20)
|
|
196
|
+
|
|
197
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
198
|
+
|
|
199
|
+
# [3.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.1) (2025-07-20)
|
|
97
200
|
|
|
98
201
|
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
99
202
|
|
|
203
|
+
# [3.3.0-beta.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.2) (2025-07-20)
|
|
100
204
|
|
|
205
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
101
206
|
|
|
207
|
+
# [3.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.1) (2025-07-20)
|
|
208
|
+
|
|
209
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
210
|
+
|
|
211
|
+
# [3.3.0-beta.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.1) (2025-07-20)
|
|
212
|
+
|
|
213
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
214
|
+
|
|
215
|
+
# [3.3.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.0) (2025-07-20)
|
|
216
|
+
|
|
217
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
218
|
+
|
|
219
|
+
# [3.4.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.4.0-beta.0) (2025-07-15)
|
|
220
|
+
|
|
221
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
222
|
+
|
|
223
|
+
# [3.3.0-beta.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.1...@pie-lib/math-rendering@3.3.0-beta.0) (2025-07-15)
|
|
224
|
+
|
|
225
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
226
|
+
|
|
227
|
+
## [3.2.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.2.0...@pie-lib/math-rendering@3.2.1) (2023-10-01)
|
|
228
|
+
|
|
229
|
+
### Bug Fixes
|
|
230
|
+
|
|
231
|
+
- revert mathml-to-latex version as it seems to break math rendering ([46e841c](https://github.com/pie-framework/pie-lib/commit/46e841c00c2a04ff0e3442625870b3b457571a8e))
|
|
232
|
+
|
|
233
|
+
# [3.2.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.1.2...@pie-lib/math-rendering@3.2.0) (2023-09-27)
|
|
102
234
|
|
|
235
|
+
### Features
|
|
236
|
+
|
|
237
|
+
- update version ([f716545](https://github.com/pie-framework/pie-lib/commit/f716545d526dc856e2160619650787273a993f27))
|
|
238
|
+
|
|
239
|
+
## [3.1.2](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.1.1...@pie-lib/math-rendering@3.1.2) (2023-09-27)
|
|
240
|
+
|
|
241
|
+
### Bug Fixes
|
|
242
|
+
|
|
243
|
+
- force publish ([489a242](https://github.com/pie-framework/pie-lib/commit/489a2421c109fb202b778680f1b57b942e49c86a))
|
|
244
|
+
|
|
245
|
+
## [3.1.1](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.1.0...@pie-lib/math-rendering@3.1.1) (2023-09-25)
|
|
246
|
+
|
|
247
|
+
### Bug Fixes
|
|
248
|
+
|
|
249
|
+
- update mathml-to-latex version PD-3182, PD-3184 ([c019296](https://github.com/pie-framework/pie-lib/commit/c0192965a3a045e13993a3301dfc35e7e314a592))
|
|
250
|
+
|
|
251
|
+
# [3.1.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@3.0.0...@pie-lib/math-rendering@3.1.0) (2023-09-20)
|
|
252
|
+
|
|
253
|
+
### Features
|
|
254
|
+
|
|
255
|
+
- use forked mathml-to-latex library, as it contains fixes PD-3011 ([8949ac2](https://github.com/pie-framework/pie-lib/commit/8949ac2ddf6664bf437a35dbe21555f18ac77426))
|
|
256
|
+
|
|
257
|
+
# [3.0.0](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.18...@pie-lib/math-rendering@3.0.0) (2023-09-20)
|
|
258
|
+
|
|
259
|
+
### Bug Fixes
|
|
260
|
+
|
|
261
|
+
- update mathml-to-latex version ([1d101d2](https://github.com/pie-framework/pie-lib/commit/1d101d22298bd480a5aec638e4c9708d5aa52ce4))
|
|
262
|
+
|
|
263
|
+
### BREAKING CHANGES
|
|
264
|
+
|
|
265
|
+
- updated mathml-to-latex version.
|
|
266
|
+
|
|
267
|
+
## [2.5.18](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.17...@pie-lib/math-rendering@2.5.18) (2023-09-14)
|
|
268
|
+
|
|
269
|
+
### Bug Fixes
|
|
270
|
+
|
|
271
|
+
- force v1.2.0 of mathml-to-latex, as v1.3.0 contains a braking change ([4792ed9](https://github.com/pie-framework/pie-lib/commit/4792ed965608ee5ff4c872e69dee9b3b59261cf0))
|
|
272
|
+
|
|
273
|
+
## [2.5.17](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.16...@pie-lib/math-rendering@2.5.17) (2023-06-24)
|
|
274
|
+
|
|
275
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
276
|
+
|
|
277
|
+
## [2.5.16](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.15...@pie-lib/math-rendering@2.5.16) (2023-06-13)
|
|
278
|
+
|
|
279
|
+
**Note:** Version bump only for package @pie-lib/math-rendering
|
|
103
280
|
|
|
104
281
|
## [2.5.15](https://github.com/pie-framework/pie-lib/compare/@pie-lib/math-rendering@2.5.14...@pie-lib/math-rendering@2.5.15) (2023-06-12)
|
|
105
282
|
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/lib/mml-to-latex.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
4
|
-
|
|
5
3
|
Object.defineProperty(exports, "__esModule", {
|
|
6
4
|
value: true
|
|
7
5
|
});
|
|
8
6
|
exports["default"] = void 0;
|
|
9
7
|
|
|
10
|
-
var _mathmlToLatex =
|
|
8
|
+
var _mathmlToLatex = require("@pie-framework/mathml-to-latex");
|
|
11
9
|
|
|
12
10
|
var _default = function _default(mathml) {
|
|
13
|
-
return _mathmlToLatex
|
|
11
|
+
return _mathmlToLatex.MathMLToLaTeX.convert(mathml);
|
|
14
12
|
};
|
|
15
13
|
|
|
16
14
|
exports["default"] = _default;
|
package/lib/mml-to-latex.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/mml-to-latex.js"],"names":["mathml","
|
|
1
|
+
{"version":3,"sources":["../src/mml-to-latex.js"],"names":["mathml","MathMLToLaTeX","convert"],"mappings":";;;;;;;AAAA;;eACe,kBAACA,MAAD;AAAA,SAAYC,6BAAcC,OAAd,CAAsBF,MAAtB,CAAZ;AAAA,C","sourcesContent":["import { MathMLToLaTeX } from '@pie-framework/mathml-to-latex';\nexport default (mathml) => MathMLToLaTeX.convert(mathml);\n"],"file":"mml-to-latex.js"}
|