@illusions-lab/mdi-to-docx 2.0.25 → 2.0.26
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/README.md +7 -5
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
# @illusions-lab/mdi-to-docx
|
|
2
2
|
|
|
3
|
-
Creates a DOCX file from an MDI-flavoured mdast tree. It is a
|
|
4
|
-
|
|
3
|
+
Creates a DOCX file from an MDI-flavoured mdast tree. It is a compatibility
|
|
4
|
+
entry point for unified applications: the tree is serialized to MDI, then the
|
|
5
|
+
same Rust OOXML renderer used by every binding creates the document.
|
|
5
6
|
|
|
6
7
|
## Install
|
|
7
8
|
|
|
@@ -44,12 +45,13 @@ remaining fallbacks:
|
|
|
44
45
|
| blank paragraph / pagebreak | Empty paragraph / native page break |
|
|
45
46
|
|
|
46
47
|
The source mdast remains available to the host application, so a UI can retain
|
|
47
|
-
source spans and render diagnostics before choosing to export.
|
|
48
|
-
|
|
48
|
+
source spans and render diagnostics before choosing to export. JavaScript does
|
|
49
|
+
not contain a second DOCX generator, and the package does not claim
|
|
50
|
+
pixel-equivalent Japanese layout across Word-compatible readers.
|
|
49
51
|
|
|
50
52
|
## Documentation
|
|
51
53
|
|
|
52
54
|
- [Output model](https://mdi.illusions.app/ecosystem/outputs/)
|
|
53
|
-
- [Export-profile guide](https://mdi.illusions.app/
|
|
55
|
+
- [Export-profile guide](https://mdi.illusions.app/ecosystem/export-profiles/)
|
|
54
56
|
- [API reference](https://mdi.illusions.app/api/to-docx/)
|
|
55
57
|
- [JavaScript documentation](https://mdi.illusions.app/bindings/javascript/)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@illusions-lab/mdi-to-docx",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.26",
|
|
4
4
|
"description": "Render MDI (.mdi) documents to DOCX",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -28,9 +28,9 @@
|
|
|
28
28
|
"typecheck": "tsc --noEmit"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@illusions-lab/mdi-core": "^2.0.
|
|
32
|
-
"@illusions-lab/mdi-export-profile": "^2.0.
|
|
33
|
-
"mdast-util-mdi": "^2.0.
|
|
31
|
+
"@illusions-lab/mdi-core": "^2.0.13",
|
|
32
|
+
"@illusions-lab/mdi-export-profile": "^2.0.18",
|
|
33
|
+
"mdast-util-mdi": "^2.0.21",
|
|
34
34
|
"@types/mdast": "^4.0.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|