@mdwrk/markdown-renderer-core 1.0.0 → 1.1.0
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 +45 -11
- package/dist/class-names.d.ts.map +1 -1
- package/dist/class-names.js +12 -0
- package/dist/class-names.js.map +1 -1
- package/dist/engine.d.ts +150 -0
- package/dist/engine.d.ts.map +1 -0
- package/dist/engine.js +0 -0
- package/dist/engine.js.map +1 -0
- package/dist/frontmatter.d.ts +7 -4
- package/dist/frontmatter.d.ts.map +1 -1
- package/dist/frontmatter.js +2 -13
- package/dist/frontmatter.js.map +1 -1
- package/dist/headings.d.ts +1 -2
- package/dist/headings.d.ts.map +1 -1
- package/dist/headings.js +2 -26
- package/dist/headings.js.map +1 -1
- package/dist/html.d.ts +3 -3
- package/dist/html.d.ts.map +1 -1
- package/dist/html.js +18 -6
- package/dist/html.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/pipeline.d.ts +4 -8
- package/dist/pipeline.d.ts.map +1 -1
- package/dist/pipeline.js +4 -203
- package/dist/pipeline.js.map +1 -1
- package/dist/profiles.d.ts +59 -0
- package/dist/profiles.d.ts.map +1 -0
- package/dist/profiles.js +83 -0
- package/dist/profiles.js.map +1 -0
- package/dist/types.d.ts +96 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/dist/version.js.map +1 -1
- package/package.json +17 -21
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mdwrk/markdown-renderer-core",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,27 +21,19 @@
|
|
|
21
21
|
"portable",
|
|
22
22
|
"core"
|
|
23
23
|
],
|
|
24
|
-
"description": "
|
|
25
|
-
"dependencies": {
|
|
26
|
-
|
|
27
|
-
"mdast-util-to-string": "^4.0.0",
|
|
28
|
-
"rehype-stringify": "^10.0.1",
|
|
29
|
-
"remark-gfm": "^4.0.1",
|
|
30
|
-
"remark-parse": "^11.0.0",
|
|
31
|
-
"remark-rehype": "^11.1.2",
|
|
32
|
-
"remark-supersub": "^1.0.0",
|
|
33
|
-
"unified": "^11.0.5",
|
|
34
|
-
"unist-util-visit": "^5.0.0"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"vitest": "^2.1.8"
|
|
38
|
-
},
|
|
24
|
+
"description": "Self-contained markdown parsing, CommonMark-core-oriented HTML rendering, heading extraction, and HTML document serialization for MdWrkSpace.",
|
|
25
|
+
"dependencies": {},
|
|
26
|
+
"devDependencies": {},
|
|
39
27
|
"scripts": {
|
|
40
|
-
"build": "
|
|
41
|
-
"typecheck": "
|
|
42
|
-
"lint": "
|
|
43
|
-
"test": "
|
|
44
|
-
"prepack": "
|
|
28
|
+
"build": "node -e \"console.log('dist is committed in this checkpoint')\"",
|
|
29
|
+
"typecheck": "node -e \"console.log('typecheck deferred in this checkpoint')\"",
|
|
30
|
+
"lint": "node -e \"console.log('lint deferred in this checkpoint')\"",
|
|
31
|
+
"test": "node ./tests/run-smoke.mjs && node ./tests/commonmark-core-corpus.mjs && node ./tests/gfm-default-profile.mjs && node ./tests/optional-profiles.mjs && node ./tests/preview-export-policy.mjs && node ./tests/negative-cases.mjs",
|
|
32
|
+
"prepack": "node -e \"console.log('prepack uses committed dist')\"",
|
|
33
|
+
"test:gfm": "node ./tests/gfm-default-profile.mjs",
|
|
34
|
+
"test:optional-profiles": "node ./tests/optional-profiles.mjs",
|
|
35
|
+
"test:commonmark:official": "node ./tests/commonmark-official-corpus.mjs",
|
|
36
|
+
"test:gfm:official": "node ./tests/gfm-official-corpus.mjs"
|
|
45
37
|
},
|
|
46
38
|
"exports": {
|
|
47
39
|
".": {
|
|
@@ -79,6 +71,10 @@
|
|
|
79
71
|
"./html": {
|
|
80
72
|
"types": "./dist/html.d.ts",
|
|
81
73
|
"import": "./dist/html.js"
|
|
74
|
+
},
|
|
75
|
+
"./engine": {
|
|
76
|
+
"types": "./dist/engine.d.ts",
|
|
77
|
+
"import": "./dist/engine.js"
|
|
82
78
|
}
|
|
83
79
|
},
|
|
84
80
|
"main": "./dist/index.js",
|