@milkdown/preset-gfm 5.0.0 → 5.1.2
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 +15 -1
- package/lib/auto-link.d.ts.map +1 -1
- package/lib/index.d.ts +2 -2
- package/lib/index.d.ts.map +1 -1
- package/lib/strike-through.d.ts +5 -1
- package/lib/strike-through.d.ts.map +1 -1
- package/lib/task-list-item.d.ts +5 -1
- package/lib/task-list-item.d.ts.map +1 -1
- package/package.json +4 -4
package/lib/auto-link.d.ts
CHANGED
|
@@ -1,2 +1,16 @@
|
|
|
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
|
+
[x: string]: import("prosemirror-model").NodeType<any>;
|
|
3
|
+
} & {
|
|
4
|
+
[x: string]: import("prosemirror-model").MarkType<any>;
|
|
5
|
+
}, {
|
|
6
|
+
schema?: ((ctx: import("@milkdown/core").Ctx) => {
|
|
7
|
+
node?: Record<string, import("@milkdown/core").NodeSchema> | undefined;
|
|
8
|
+
mark?: Record<string, import("@milkdown/core").MarkSchema> | undefined;
|
|
9
|
+
}) | undefined;
|
|
10
|
+
view?: ((ctx: import("@milkdown/core").Ctx) => Partial<{
|
|
11
|
+
[x: string]: import("@milkdown/prose").NodeViewFactory;
|
|
12
|
+
} & {
|
|
13
|
+
[x: string]: import("@milkdown/prose").MarkViewFactory;
|
|
14
|
+
}>) | undefined;
|
|
15
|
+
}>;
|
|
2
16
|
//# sourceMappingURL=auto-link.d.ts.map
|
package/lib/auto-link.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auto-link.d.ts","sourceRoot":"","sources":["../src/auto-link.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"auto-link.d.ts","sourceRoot":"","sources":["../src/auto-link.ts"],"names":[],"mappings":"AA0BA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;EAAmE,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -4,9 +4,9 @@ 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: {
|
|
11
11
|
readonly ToggleStrikeThrough: import("@milkdown/core").CmdKey<undefined>;
|
|
12
12
|
readonly TurnIntoTaskList: import("@milkdown/core").CmdKey<undefined>;
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAY3C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACH,UAAU,EAEV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,EACL,WAAW,GACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EAEV,eAAe,EACf,iBAAiB,EAEjB,GAAG,EACH,EAAE,EACF,SAAS,EACT,OAAO,EACP,EAAE,EACF,KAAK,EAEL,eAAe,EACf,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,MAAM,EACN,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,GAAG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAY3C,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EACH,UAAU,EAEV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,EACL,WAAW,GACd,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACH,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EAEV,eAAe,EACf,iBAAiB,EAEjB,GAAG,EACH,EAAE,EACF,SAAS,EACT,OAAO,EACP,EAAE,EACF,KAAK,EAEL,eAAe,EACf,QAAQ,EACR,WAAW,EACX,YAAY,EACZ,IAAI,EACJ,QAAQ,EACR,WAAW,EACX,UAAU,EACV,WAAW,EACX,SAAS,EACT,YAAY,EACZ,aAAa,EACb,MAAM,EACN,IAAI,EACJ,UAAU,EACV,gBAAgB,EAChB,YAAY,EACZ,UAAU,EACV,iBAAiB,EACjB,eAAe,EACf,YAAY,EACZ,gBAAgB,EAChB,gBAAgB,EAChB,iBAAiB,GACpB,MAAM,6BAA6B,CAAC;AAErC,eAAO,MAAM,GAAG;;+CAAgG,CAAC;AAEjH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAC;AACX,oBAAY,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|
package/lib/strike-through.d.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
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
|
+
id: string;
|
|
4
|
+
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").MarkSchema;
|
|
5
|
+
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").MarkViewFactory) | undefined;
|
|
6
|
+
}>;
|
|
3
7
|
//# sourceMappingURL=strike-through.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"strike-through.d.ts","sourceRoot":"","sources":["../src/strike-through.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB,4CAAiB,CAAC;AAElD,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"strike-through.d.ts","sourceRoot":"","sources":["../src/strike-through.ts"],"names":[],"mappings":"AAUA,eAAO,MAAM,mBAAmB,4CAAiB,CAAC;AAElD,eAAO,MAAM,aAAa;;;;EAyCxB,CAAC"}
|
package/lib/task-list-item.d.ts
CHANGED
|
@@ -4,6 +4,10 @@ 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
|
+
id: string;
|
|
9
|
+
schema: (ctx: import("@milkdown/core").Ctx) => import("@milkdown/core").NodeSchema;
|
|
10
|
+
view?: ((ctx: import("@milkdown/core").Ctx) => import("@milkdown/prose").NodeViewFactory) | undefined;
|
|
11
|
+
}>;
|
|
8
12
|
export {};
|
|
9
13
|
//# sourceMappingURL=task-list-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-list-item.d.ts","sourceRoot":"","sources":["../src/task-list-item.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,aAAK,IAAI,GAAG,OAAO,CAAC,MAAM,aAAa,EAAE,cAAc,GAAG,cAAc,GAAG,cAAc,GAAG,UAAU,CAAC,CAAC;AAExG,eAAO,MAAM,iBAAiB,4CAAiB,CAAC;AAChD,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAE/C,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"task-list-item.d.ts","sourceRoot":"","sources":["../src/task-list-item.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,aAAK,IAAI,GAAG,OAAO,CAAC,MAAM,aAAa,EAAE,cAAc,GAAG,cAAc,GAAG,cAAc,GAAG,UAAU,CAAC,CAAC;AAExG,eAAO,MAAM,iBAAiB,4CAAiB,CAAC;AAChD,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAC/C,eAAO,MAAM,gBAAgB,4CAAiB,CAAC;AAE/C,eAAO,MAAM,YAAY;;;;EAsMvB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@milkdown/preset-gfm",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.2",
|
|
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.
|
|
25
|
-
"@milkdown/preset-commonmark": "5.
|
|
26
|
-
"@milkdown/utils": "5.
|
|
24
|
+
"@milkdown/plugin-table": "5.1.2",
|
|
25
|
+
"@milkdown/preset-commonmark": "5.1.2",
|
|
26
|
+
"@milkdown/utils": "5.1.2",
|
|
27
27
|
"@types/prosemirror-schema-list": "^1.0.3",
|
|
28
28
|
"prosemirror-schema-list": "^1.1.4",
|
|
29
29
|
"tslib": "^2.3.1"
|