@adobe/helix-importer 2.5.11 → 2.5.13
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,17 @@
|
|
|
1
|
+
## [2.5.13](https://github.com/adobe/helix-importer/compare/v2.5.12...v2.5.13) (2023-01-23)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* trigger release ([8f5968a](https://github.com/adobe/helix-importer/commit/8f5968ae9b1648629039f734cfb8d4ddc0071d56))
|
|
7
|
+
|
|
8
|
+
## [2.5.12](https://github.com/adobe/helix-importer/compare/v2.5.11...v2.5.12) (2023-01-23)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* support <s> tag ([#76](https://github.com/adobe/helix-importer/issues/76)) ([2691506](https://github.com/adobe/helix-importer/commit/2691506601fa68ca8f721a34ffaf4926143cba7d))
|
|
14
|
+
|
|
1
15
|
## [2.5.11](https://github.com/adobe/helix-importer/compare/v2.5.10...v2.5.11) (2023-01-20)
|
|
2
16
|
|
|
3
17
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adobe/helix-importer",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.13",
|
|
4
4
|
"description": "Helix Importer tool: create md / docx from html",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"type": "module",
|
|
@@ -26,17 +26,17 @@
|
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
28
|
"@adobe/eslint-config-helix": "1.3.2",
|
|
29
|
-
"@adobe/helix-docx2md": "1.3.
|
|
30
|
-
"@adobe/helix-mediahandler": "2.0.
|
|
29
|
+
"@adobe/helix-docx2md": "1.3.10",
|
|
30
|
+
"@adobe/helix-mediahandler": "2.0.2",
|
|
31
31
|
"@semantic-release/changelog": "6.0.2",
|
|
32
32
|
"@semantic-release/exec": "6.0.3",
|
|
33
33
|
"@semantic-release/git": "10.0.1",
|
|
34
34
|
"c8": "7.12.0",
|
|
35
35
|
"dirname-filename-esm": "1.1.1",
|
|
36
|
-
"eslint": "8.
|
|
36
|
+
"eslint": "8.32.0",
|
|
37
37
|
"eslint-import-resolver-exports": "1.0.0-beta.4",
|
|
38
38
|
"eslint-plugin-header": "3.1.1",
|
|
39
|
-
"eslint-plugin-import": "2.27.
|
|
39
|
+
"eslint-plugin-import": "2.27.5",
|
|
40
40
|
"husky": "8.0.3",
|
|
41
41
|
"lint-staged": "13.1.0",
|
|
42
42
|
"mocha": "10.2.0",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"license": "Apache-2.0",
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@adobe/helix-markdown-support": "6.1.0",
|
|
50
|
-
"@adobe/helix-md2docx": "2.0.
|
|
50
|
+
"@adobe/helix-md2docx": "2.0.32",
|
|
51
51
|
"@adobe/mdast-util-gridtables": "1.0.5",
|
|
52
52
|
"@adobe/remark-gridtables": "1.0.1",
|
|
53
53
|
"form-data": "4.0.0",
|
|
54
54
|
"fs-extra": "11.1.0",
|
|
55
55
|
"hast-util-to-mdast": "9.0.0",
|
|
56
|
-
"jsdom": "21.
|
|
56
|
+
"jsdom": "21.1.0",
|
|
57
57
|
"node-fetch": "3.3.0",
|
|
58
58
|
"rehype-parse": "8.0.4",
|
|
59
59
|
"rehype-remark": "github:adobe-rnd/rehype-remark#45735e80a3d3c805d3c4211ae035f718ddd10bcb",
|
|
@@ -22,7 +22,7 @@ import stringify from 'remark-stringify';
|
|
|
22
22
|
import fs from 'fs-extra';
|
|
23
23
|
import { md2docx } from '@adobe/helix-md2docx';
|
|
24
24
|
import remarkGridTable from '@adobe/remark-gridtables';
|
|
25
|
-
import { imageReferences } from '@adobe/helix-markdown-support';
|
|
25
|
+
import { imageReferences, remarkGfmNoLink } from '@adobe/helix-markdown-support';
|
|
26
26
|
import gridtableHandlers from './hast-to-mdast-gridtable-handlers.js';
|
|
27
27
|
import Utils from '../utils/Utils.js';
|
|
28
28
|
import DOMUtils from '../utils/DOMUtils.js';
|
|
@@ -84,6 +84,7 @@ export default class PageImporter {
|
|
|
84
84
|
})
|
|
85
85
|
.use(remarkImageReferences)
|
|
86
86
|
.use(remarkGridTable)
|
|
87
|
+
.use(remarkGfmNoLink)
|
|
87
88
|
.use(stringify, {
|
|
88
89
|
bullet: '-',
|
|
89
90
|
fence: '`',
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<html>
|
|
2
|
+
<body>
|
|
3
|
+
<h1>strikethrough sample</h1>
|
|
4
|
+
<p><s>strikethrough 1</s></p>
|
|
5
|
+
<p>removed <del>strikethrough 2</del> but added <ins>insert 3</ins></p>
|
|
6
|
+
<p></p>
|
|
7
|
+
<p>
|
|
8
|
+
<b>
|
|
9
|
+
<s><span>US$84.99/mo</span></s>
|
|
10
|
+
<span>US$59.99/mo</span> per license
|
|
11
|
+
</b>
|
|
12
|
+
</p>
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|