@adobe/helix-md2docx 2.1.67 → 2.1.69
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.md +14 -0
- package/package.json +3 -3
- package/src/mdast2docx/mdast-docx-anchors.js +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [2.1.69](https://github.com/adobe/helix-md2docx/compare/v2.1.68...v2.1.69) (2024-07-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* **deps:** update adobe fixes ([41c32e2](https://github.com/adobe/helix-md2docx/commit/41c32e2b8e7740059e0dda93540929d99024d6be))
|
|
7
|
+
|
|
8
|
+
## [2.1.68](https://github.com/adobe/helix-md2docx/compare/v2.1.67...v2.1.68) (2024-07-08)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* keep anchor links to bookmarks ([#460](https://github.com/adobe/helix-md2docx/issues/460)) ([a171b9a](https://github.com/adobe/helix-md2docx/commit/a171b9a6de937f00a8d4097c79e28510e0a132c1)), closes [#456](https://github.com/adobe/helix-md2docx/issues/456)
|
|
14
|
+
|
|
1
15
|
## [2.1.67](https://github.com/adobe/helix-md2docx/compare/v2.1.66...v2.1.67) (2024-07-06)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-md2docx",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.69",
|
|
4
4
|
"description": "Helix Service that converts markdown to word documents",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"homepage": "https://github.com/adobe/helix-md2docx#readme",
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@adobe/fetch": "4.1.8",
|
|
32
|
-
"@adobe/helix-docx2md": "1.6.
|
|
32
|
+
"@adobe/helix-docx2md": "1.6.4",
|
|
33
33
|
"@adobe/helix-markdown-support": "7.1.4",
|
|
34
34
|
"@adobe/helix-shared-process-queue": "3.0.4",
|
|
35
35
|
"@adobe/remark-gridtables": "3.0.6",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
50
|
"@adobe/eslint-config-helix": "2.0.6",
|
|
51
|
-
"@adobe/helix-mediahandler": "2.5.
|
|
51
|
+
"@adobe/helix-mediahandler": "2.5.14",
|
|
52
52
|
"@semantic-release/changelog": "6.0.3",
|
|
53
53
|
"@semantic-release/exec": "6.0.3",
|
|
54
54
|
"@semantic-release/git": "10.0.1",
|
|
@@ -97,6 +97,11 @@ export function buildAnchors(tree) {
|
|
|
97
97
|
for (const link of ref.links) {
|
|
98
98
|
link.anchor = anchor;
|
|
99
99
|
}
|
|
100
|
+
} else if (k.startsWith('#') && k !== '#') {
|
|
101
|
+
// broken anchor link
|
|
102
|
+
for (const link of ref.links) {
|
|
103
|
+
link.anchor = k.substring(1);
|
|
104
|
+
}
|
|
100
105
|
}
|
|
101
106
|
});
|
|
102
107
|
}
|