@milkdown/preset-gfm 6.1.4 → 6.1.5
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ModifyFootnoteDef: import("@milkdown/core").CmdKey<string>;
|
|
2
|
-
export declare const footnoteDefinition: import("@milkdown/utils
|
|
2
|
+
export declare const footnoteDefinition: import("@milkdown/utils").WithExtend<string, import("@milkdown/utils").UnknownRecord, import("@milkdown/prose/model").NodeType<any>, {
|
|
3
3
|
id: string;
|
|
4
4
|
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
5
5
|
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const ModifyFootnoteRef: import("@milkdown/core").CmdKey<string>;
|
|
2
|
-
export declare const footnoteReference: import("@milkdown/utils
|
|
2
|
+
export declare const footnoteReference: import("@milkdown/utils").WithExtend<string, import("@milkdown/utils").UnknownRecord, import("@milkdown/prose/model").NodeType<any>, {
|
|
3
3
|
id: string;
|
|
4
4
|
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
5
5
|
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
package/lib/index.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ export { SupportedKeys } from './supported-keys';
|
|
|
5
5
|
export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, } from './table';
|
|
6
6
|
export * from './task-list-item';
|
|
7
7
|
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';
|
|
8
|
-
export declare const gfm: AtomList<import("@milkdown/utils").$Prose | import("@milkdown/utils").$Remark | (import("@milkdown/utils
|
|
8
|
+
export declare const gfm: AtomList<import("@milkdown/utils").$Prose | import("@milkdown/utils").$Remark | (import("@milkdown/utils").Metadata<import("@milkdown/utils").GetPlugin<string, import("@milkdown/preset-commonmark").ImageOptions>> & import("@milkdown/core").MilkdownPlugin) | (import("@milkdown/utils").Metadata<import("@milkdown/utils").GetPlugin<"CodeFence", {
|
|
9
9
|
languageList?: string[] | undefined;
|
|
10
10
|
}>> & import("@milkdown/core").MilkdownPlugin)>;
|
|
11
11
|
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").WithExtend<"StrikeThrough", import("@milkdown/utils").UnknownRecord, import("@milkdown/prose/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;
|
|
@@ -11,7 +11,7 @@ export declare const NextCell: import("@milkdown/core").CmdKey<undefined>;
|
|
|
11
11
|
export declare const BreakTable: import("@milkdown/core").CmdKey<undefined>;
|
|
12
12
|
export declare const InsertTable: import("@milkdown/core").CmdKey<undefined>;
|
|
13
13
|
export declare const TableContentFilterPluginKey: PluginKey<any, any>;
|
|
14
|
-
export declare const table: import("@milkdown/utils
|
|
14
|
+
export declare const table: import("@milkdown/utils").WithExtend<"NextCell" | "PrevCell" | "ExitTable", Record<string, unknown>, {
|
|
15
15
|
table: NodeType<any>;
|
|
16
16
|
table_header: NodeType<any>;
|
|
17
17
|
table_row: NodeType<any>;
|
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").WithExtend<Keys, import("@milkdown/utils").UnknownRecord, import("@milkdown/prose/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": "6.1.
|
|
3
|
+
"version": "6.1.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./lib/index.es.js",
|
|
6
6
|
"types": "./lib/index.d.ts",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"gfm"
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@milkdown/core": "6.1.
|
|
21
|
-
"@milkdown/design-system": "6.1.
|
|
22
|
-
"@milkdown/preset-commonmark": "6.1.
|
|
23
|
-
"@milkdown/prose": "6.1.
|
|
20
|
+
"@milkdown/core": "6.1.5",
|
|
21
|
+
"@milkdown/design-system": "6.1.5",
|
|
22
|
+
"@milkdown/preset-commonmark": "6.1.5",
|
|
23
|
+
"@milkdown/prose": "6.1.5"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
26
|
"@milkdown/core": "^6.0.1",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@milkdown/prose": "^6.0.1"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@milkdown/utils": "6.1.
|
|
31
|
+
"@milkdown/utils": "6.1.5",
|
|
32
32
|
"remark-gfm": "^3.0.0",
|
|
33
33
|
"tslib": "^2.3.1"
|
|
34
34
|
},
|