@adobe/helix-md2docx 2.2.19 → 2.2.20

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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.2.20](https://github.com/adobe/helix-md2docx/compare/v2.2.19...v2.2.20) (2025-09-18)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * use gfm with no autolinks ([#642](https://github.com/adobe/helix-md2docx/issues/642)) ([2d064d8](https://github.com/adobe/helix-md2docx/commit/2d064d8f2b867134bf51ce8d3f86d928666ef278))
7
+
1
8
  ## [2.2.19](https://github.com/adobe/helix-md2docx/compare/v2.2.18...v2.2.19) (2025-09-15)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adobe/helix-md2docx",
3
- "version": "2.2.19",
3
+ "version": "2.2.20",
4
4
  "description": "Helix Service that converts markdown to word documents",
5
5
  "main": "src/index.js",
6
6
  "type": "module",
@@ -41,14 +41,13 @@
41
41
  "mdast-util-to-string": "4.0.0",
42
42
  "mime": "4.0.7",
43
43
  "rehype-parse": "9.0.1",
44
- "remark-gfm": "4.0.1",
45
44
  "remark-parse": "11.0.0",
46
45
  "unified": "11.0.5",
47
46
  "unist-util-visit": "5.0.0"
48
47
  },
49
48
  "devDependencies": {
50
- "@adobe/eslint-config-helix": "3.0.9",
51
- "@adobe/helix-mediahandler": "2.9.1",
49
+ "@adobe/eslint-config-helix": "3.0.10",
50
+ "@adobe/helix-mediahandler": "2.9.2",
52
51
  "@eslint/config-helpers": "0.3.1",
53
52
  "@semantic-release/changelog": "6.0.3",
54
53
  "@semantic-release/exec": "7.1.0",
@@ -11,8 +11,7 @@
11
11
  */
12
12
  import { unified } from 'unified';
13
13
  import remark from 'remark-parse';
14
- import gfm from 'remark-gfm';
15
- import { dereference } from '@adobe/helix-markdown-support';
14
+ import { dereference, remarkGfmNoLink } from '@adobe/helix-markdown-support';
16
15
  import { remarkMatter } from '@adobe/helix-markdown-support/matter';
17
16
  import remarkGridTable from '@adobe/remark-gridtables';
18
17
  import mdast2docx from '../mdast2docx/index.js';
@@ -20,7 +19,7 @@ import mdast2docx from '../mdast2docx/index.js';
20
19
  export default async function md2docx(md, opts) {
21
20
  const mdast = unified()
22
21
  .use(remark, { position: false })
23
- .use(gfm)
22
+ .use(remarkGfmNoLink)
24
23
  .use(remarkMatter)
25
24
  .use(remarkGridTable)
26
25
  .parse(md);