cudoc-remark 0.2.0 → 0.4.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 +2 -2
- package/package.json +18 -15
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Connect cudoc Markdown syntax and prepared document embeds to a remark/MDX pipeline.
|
|
4
4
|
|
|
5
|
-
This separate package is a pipeline adapter, not a second implementation of cudoc's rules. Shared document semantics live in `@cudoment/cudoc`. Use it directly with Next.js/remark; Docusaurus and Nextra adapters already depend on it. VitePress and HTML
|
|
5
|
+
This separate package is a pipeline adapter, not a second implementation of cudoc's rules. Shared document semantics live in `@cudoment/cudoc`. Use it directly with Next.js/remark; Docusaurus and Nextra adapters already depend on it. VitePress and Eleventy share `cudoc-markdown-it`, and HTML uses its own adapter; none of them need this plugin.
|
|
6
6
|
|
|
7
7
|
ESM · Node.js 20+
|
|
8
8
|
|
|
@@ -21,7 +21,7 @@ Default settings produce component-free output in both `.md` and `.mdx`; `syntax
|
|
|
21
21
|
|
|
22
22
|
Choose `host`, `cudoc` or `both` independently for `headingAnchor`, `badge`, `tableCellList`, `callout` and `link`. The representative callout is `> [!NOTE] Title`. Authors do not register cudoc React components in the recommended setup. Syntax-only rendering needs no stored JSON; cross-document embedding requires document collection.
|
|
23
23
|
|
|
24
|
-
- [Usage guide](https://github.com/cudoment/cudoc/tree/main/docs/next
|
|
24
|
+
- [Usage guide](https://github.com/cudoment/cudoc/tree/main/docs/next.md) · [한국어 가이드](https://github.com/cudoment/cudoc/tree/main/docs/next.ko.md)
|
|
25
25
|
- [Markdown syntax](https://github.com/cudoment/cudoc/tree/main/docs/syntax.md)
|
|
26
26
|
- [Embedding](https://github.com/cudoment/cudoc/tree/main/docs/embedding.md)
|
|
27
27
|
- [Standalone HTML alongside a host](https://github.com/cudoment/cudoc/tree/main/docs/html.md#export-alongside-an-existing-site)
|
package/package.json
CHANGED
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cudoc-remark",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Remark plugin for cudoc: heading anchors, badges, table cell lists and table column layout, each configurable.",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/cudoment/cudoc.git",
|
|
9
|
+
"directory": "packages/cudoc-remark"
|
|
10
|
+
},
|
|
11
|
+
"homepage": "https://github.com/cudoment/cudoc/tree/main/packages/cudoc-remark#readme",
|
|
12
|
+
"bugs": {
|
|
13
|
+
"url": "https://github.com/cudoment/cudoc/issues"
|
|
14
|
+
},
|
|
5
15
|
"keywords": [
|
|
6
16
|
"cudoc",
|
|
7
17
|
"remark",
|
|
@@ -10,17 +20,6 @@
|
|
|
10
20
|
"markdown",
|
|
11
21
|
"mdast"
|
|
12
22
|
],
|
|
13
|
-
"homepage": "https://github.com/cudoment/cudoc/tree/main/packages/cudoc-remark#readme",
|
|
14
|
-
"bugs": {
|
|
15
|
-
"url": "https://github.com/cudoment/cudoc/issues"
|
|
16
|
-
},
|
|
17
|
-
"repository": {
|
|
18
|
-
"type": "git",
|
|
19
|
-
"url": "git+https://github.com/cudoment/cudoc.git",
|
|
20
|
-
"directory": "packages/cudoc-remark"
|
|
21
|
-
},
|
|
22
|
-
"license": "MIT",
|
|
23
|
-
"author": "cudoment",
|
|
24
23
|
"type": "module",
|
|
25
24
|
"main": "./dist/index.js",
|
|
26
25
|
"types": "./dist/index.d.ts",
|
|
@@ -75,15 +74,15 @@
|
|
|
75
74
|
"README.md",
|
|
76
75
|
"LICENSE"
|
|
77
76
|
],
|
|
78
|
-
"
|
|
79
|
-
"
|
|
77
|
+
"publishConfig": {
|
|
78
|
+
"access": "public"
|
|
80
79
|
},
|
|
81
80
|
"scripts": {
|
|
82
81
|
"build": "tsc --build",
|
|
83
82
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
84
83
|
},
|
|
85
84
|
"dependencies": {
|
|
86
|
-
"@cudoment/cudoc": "0.
|
|
85
|
+
"@cudoment/cudoc": "0.4.0",
|
|
87
86
|
"estree-util-value-to-estree": "^3.5.0",
|
|
88
87
|
"mdast-util-mdx-jsx": "^3.2.0",
|
|
89
88
|
"remark-gfm": "^4.0.1",
|
|
@@ -106,5 +105,9 @@
|
|
|
106
105
|
"react": {
|
|
107
106
|
"optional": true
|
|
108
107
|
}
|
|
108
|
+
},
|
|
109
|
+
"author": "cudoment",
|
|
110
|
+
"engines": {
|
|
111
|
+
"node": ">=20"
|
|
109
112
|
}
|
|
110
113
|
}
|