@milkdown/preset-gfm 5.2.0 → 5.3.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 +1 -15
- 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/index.es.js +1031 -0
- package/lib/index.es.js.map +1 -0
- package/lib/supported-keys.d.ts.map +1 -1
- package/lib/table/command.d.ts +3 -0
- package/lib/table/command.d.ts.map +1 -0
- package/lib/table/index.d.ts +10 -0
- package/lib/table/index.d.ts.map +1 -0
- package/lib/table/nodes/index.d.ts +32 -0
- package/lib/table/nodes/index.d.ts.map +1 -0
- package/lib/table/nodes/schema.d.ts +2 -0
- package/lib/table/nodes/schema.d.ts.map +1 -0
- package/lib/table/nodes/style.d.ts +3 -0
- package/lib/table/nodes/style.d.ts.map +1 -0
- package/lib/table/operator-plugin/actions.d.ts +19 -0
- package/lib/table/operator-plugin/actions.d.ts.map +1 -0
- package/lib/table/operator-plugin/calc-pos.d.ts +3 -0
- package/lib/table/operator-plugin/calc-pos.d.ts.map +1 -0
- package/lib/table/operator-plugin/constant.d.ts +6 -0
- package/lib/table/operator-plugin/constant.d.ts.map +1 -0
- package/lib/table/operator-plugin/helper.d.ts +6 -0
- package/lib/table/operator-plugin/helper.d.ts.map +1 -0
- package/lib/table/operator-plugin/index.d.ts +6 -0
- package/lib/table/operator-plugin/index.d.ts.map +1 -0
- package/lib/table/operator-plugin/style.d.ts +3 -0
- package/lib/table/operator-plugin/style.d.ts.map +1 -0
- package/lib/table/operator-plugin/widget.d.ts +8 -0
- package/lib/table/operator-plugin/widget.d.ts.map +1 -0
- package/lib/table/utils.d.ts +20 -0
- package/lib/table/utils.d.ts.map +1 -0
- package/lib/task-list-item.d.ts.map +1 -1
- package/package.json +15 -20
- package/src/auto-link.ts +4 -9
- package/src/index.ts +13 -6
- package/src/supported-keys.ts +2 -1
- package/src/table/command.ts +16 -0
- package/src/table/index.ts +13 -0
- package/src/table/nodes/index.ts +169 -0
- package/src/table/nodes/schema.ts +16 -0
- package/src/table/nodes/style.ts +170 -0
- package/src/table/operator-plugin/actions.ts +115 -0
- package/src/table/operator-plugin/calc-pos.ts +25 -0
- package/src/table/operator-plugin/constant.ts +7 -0
- package/src/table/operator-plugin/helper.ts +38 -0
- package/src/table/operator-plugin/index.ts +98 -0
- package/src/table/operator-plugin/style.ts +51 -0
- package/src/table/operator-plugin/widget.ts +66 -0
- package/src/table/utils.ts +158 -0
- package/src/task-list-item.ts +3 -3
- package/lib/auto-link.js +0 -19
- package/lib/auto-link.js.map +0 -1
- package/lib/index.js +0 -29
- package/lib/index.js.map +0 -1
- package/lib/strike-through.js +0 -46
- package/lib/strike-through.js.map +0 -1
- package/lib/supported-keys.js +0 -5
- package/lib/supported-keys.js.map +0 -1
- package/lib/task-list-item.js +0 -195
- package/lib/task-list-item.js.map +0 -1
package/lib/auto-link.d.ts
CHANGED
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
export declare const urlPlugin: import("@milkdown/utils
|
|
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
|
-
}>;
|
|
1
|
+
export declare const urlPlugin: import("@milkdown/utils").$Prose;
|
|
16
2
|
//# 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":"
|
|
1
|
+
{"version":3,"file":"auto-link.d.ts","sourceRoot":"","sources":["../src/auto-link.ts"],"names":[],"mappings":"AAqBA,eAAO,MAAM,SAAS,kCAAiC,CAAC"}
|
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { AtomList } from '@milkdown/utils';
|
|
2
2
|
export * from './strike-through';
|
|
3
3
|
export { SupportedKeys } from './supported-keys';
|
|
4
|
+
export { BreakTable, createTable, InsertTable, NextCell, PrevCell, table, } from './table';
|
|
4
5
|
export * from './task-list-item';
|
|
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/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", {
|
|
7
|
+
export declare const gfm: AtomList<import("@milkdown/utils").$Prose | import("@milkdown/utils").$Remark | (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/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAW,QAAQ,EAAE,MAAM,iBAAiB,CAAC;AAcpD,cAAc,kBAAkB,CAAC;AACjC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACjD,OAAO,EACH,UAAU,EAEV,WAAW,EACX,WAAW,EACX,QAAQ,EACR,QAAQ,EAER,KAAK,GACR,MAAM,SAAS,CAAC;AACjB,cAAc,kBAAkB,CAAC;AACjC,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;;+CAOd,CAAC;AAEH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;CAOX,CAAC;AACX,oBAAY,QAAQ,GAAG,OAAO,QAAQ,CAAC"}
|