@milkdown/preset-gfm 5.0.1 → 5.2.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/lib/auto-link.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/strike-through.d.ts +1 -1
- package/lib/task-list-item.d.ts +1 -1
- package/package.json +4 -4
package/lib/auto-link.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const urlPlugin: import("@milkdown/utils/
|
|
1
|
+
export declare const urlPlugin: import("@milkdown/utils/lib/types").WithExtend<string, import("@milkdown/utils").UnknownRecord, {
|
|
2
2
|
[x: string]: import("prosemirror-model").NodeType<any>;
|
|
3
3
|
} & {
|
|
4
4
|
[x: string]: import("prosemirror-model").MarkType<any>;
|
package/lib/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export { SupportedKeys } from './supported-keys';
|
|
|
4
4
|
export * from './task-list-item';
|
|
5
5
|
export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, tablePlugin, } from '@milkdown/plugin-table';
|
|
6
6
|
export { blockquote, bulletList, codeFence, codeInline, commonmark, commonmarkNodes, commonmarkPlugins, doc, em, hardbreak, heading, hr, image, InsertHardbreak, InsertHr, InsertImage, LiftListItem, link, listItem, ModifyImage, ModifyLink, orderedList, paragraph, SinkListItem, SplitListItem, strong, text, ToggleBold, ToggleInlineCode, ToggleItalic, ToggleLink, TurnIntoCodeFence, TurnIntoHeading, TurnIntoText, WrapInBlockquote, WrapInBulletList, WrapInOrderedList, } from '@milkdown/preset-commonmark';
|
|
7
|
-
export declare const gfm: AtomList<(import("@milkdown/utils/
|
|
7
|
+
export declare const gfm: AtomList<(import("@milkdown/utils/lib/types").Metadata<import("@milkdown/utils/lib/types").GetPlugin<string, import("@milkdown/preset-commonmark").ImageOptions>> & import("@milkdown/core").MilkdownPlugin) | (import("@milkdown/utils/lib/types").Metadata<import("@milkdown/utils/lib/types").GetPlugin<"CodeFence", {
|
|
8
8
|
languageList?: string[] | undefined;
|
|
9
9
|
}>> & import("@milkdown/core").MilkdownPlugin)>;
|
|
10
10
|
export declare const commands: {
|
package/lib/strike-through.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ToggleStrikeThrough: import("@milkdown/core").CmdKey<undefined>;
|
|
2
|
-
export declare const strikeThrough: import("@milkdown/utils/
|
|
2
|
+
export declare const strikeThrough: import("@milkdown/utils/lib/types").WithExtend<"StrikeThrough", import("@milkdown/utils").UnknownRecord, import("prosemirror-model").MarkType<any>, {
|
|
3
3
|
id: string;
|
|
4
4
|
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").MarkSchema;
|
|
5
5
|
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").MarkViewFactory) | undefined;
|
package/lib/task-list-item.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ export declare const SplitTaskListItem: import("@milkdown/core").CmdKey<undefine
|
|
|
4
4
|
export declare const SinkTaskListItem: import("@milkdown/core").CmdKey<undefined>;
|
|
5
5
|
export declare const LiftTaskListItem: import("@milkdown/core").CmdKey<undefined>;
|
|
6
6
|
export declare const TurnIntoTaskList: import("@milkdown/core").CmdKey<undefined>;
|
|
7
|
-
export declare const taskListItem: import("@milkdown/utils/
|
|
7
|
+
export declare const taskListItem: import("@milkdown/utils/lib/types").WithExtend<Keys, import("@milkdown/utils").UnknownRecord, import("prosemirror-model").NodeType<any>, {
|
|
8
8
|
id: string;
|
|
9
9
|
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
10
10
|
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milkdown/preset-gfm",
|
|
3
|
-
"version": "5.0
|
|
3
|
+
"version": "5.2.0",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "lib/index.js",
|
|
6
6
|
"types": "lib/index.d.ts",
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@emotion/css": "^11.1.3",
|
|
24
|
-
"@milkdown/plugin-table": "5.0
|
|
25
|
-
"@milkdown/preset-commonmark": "5.0
|
|
26
|
-
"@milkdown/utils": "5.0
|
|
24
|
+
"@milkdown/plugin-table": "5.2.0",
|
|
25
|
+
"@milkdown/preset-commonmark": "5.2.0",
|
|
26
|
+
"@milkdown/utils": "5.2.0",
|
|
27
27
|
"@types/prosemirror-schema-list": "^1.0.3",
|
|
28
28
|
"prosemirror-schema-list": "^1.1.4",
|
|
29
29
|
"tslib": "^2.3.1"
|