@powerduck/md-editor 0.2.0 → 0.5.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 +134 -2
- package/dist/Editor.d.ts +20 -0
- package/dist/Renderer.d.ts +20 -0
- package/dist/Toolbar.d.ts +1 -1
- package/dist/icons.d.ts +8 -0
- package/dist/index.cjs +23 -5
- package/dist/index.d.ts +48 -12
- package/dist/index.mjs +7901 -274
- package/dist/plugins/code.d.ts +16 -0
- package/dist/plugins/keyboard.d.ts +22 -0
- package/dist/plugins/math.d.ts +1 -5
- package/dist/plugins/media.d.ts +23 -0
- package/dist/plugins/mindmap.d.ts +5 -0
- package/dist/plugins/popup.d.ts +34 -0
- package/dist/plugins/tips.d.ts +2 -0
- package/dist/plugins/video.d.ts +7 -0
- package/dist/react/MarkdownEditor.d.ts +3 -3
- package/dist/react.mjs +70 -68
- package/dist/style.css +1 -1
- package/package.json +4 -3
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@powerduck/md-editor",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "High-performance embeddable Markdown editor
|
|
3
|
+
"version": "0.5.0",
|
|
4
|
+
"description": "High-performance embeddable Markdown editor: KaTeX math, Markmap mindmaps, highlight.js code blocks with copy button, github-markdown-css preview, rich toolbar with image/video/YouTube popups, React component, block-level incremental rendering. Simple and complex modes, light/dark themes.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.mjs",
|
|
@@ -57,9 +57,10 @@
|
|
|
57
57
|
"@codemirror/state": "^6.4.1",
|
|
58
58
|
"@codemirror/view": "^6.28.0",
|
|
59
59
|
"d3": "^7.9.0",
|
|
60
|
+
"github-markdown-css": "^5.6.1",
|
|
61
|
+
"highlight.js": "^11.10.0",
|
|
60
62
|
"katex": "^0.16.11",
|
|
61
63
|
"markdown-it": "^14.1.0",
|
|
62
|
-
"markdown-it-texmath": "^1.0.0",
|
|
63
64
|
"markmap-lib": "^0.18.7",
|
|
64
65
|
"markmap-view": "^0.18.7"
|
|
65
66
|
},
|