{
  "name": "@milkdown/plugin-table",
  "version": "5.3.1",
  "type": "module",
  "main": "./lib/index.es.js",
  "types": "./lib/index.d.ts",
  "sideEffects": false,
  "license": "MIT",
  "files": [
    "lib",
    "src"
  ],
  "keywords": [
    "milkdown",
    "milkdown plugin"
  ],
  "peerDependencies": {
    "@milkdown/core": "*"
  },
  "dependencies": {
    "@emotion/css": "^11.1.3",
    "@milkdown/utils": "5.3.1",
    "remark-gfm": "^3.0.0",
    "tslib": "^2.3.1"
  },
  "devDependencies": {
    "@milkdown/prose": "5.3.1",
    "@milkdown/core": "5.3.1"
  },
  "scripts": {
    "start": "vite",
    "watch": "vite build --watch",
    "test": "vitest",
    "tsc": "tsc --noEmit",
    "build": "vite build && tsc --emitDeclarationOnly"
  },
  "readme": "# @milkdown/plugin-table\n\nTable plugin for [milkdown](https://saul-mirone.github.io/milkdown/).\nAdd support for table commands.\n\n# Example Usage\n\n```typescript\nimport { Editor } from '@milkdown/core';\nimport { commonmark } from '@milkdown/preset-commonmark';\nimport { nord } from '@milkdown/theme-nord';\n\nimport { table } from '@milkdown/plugin-table';\n\nEditor.make().use(nord).use(commonmark).use(table).create();\n```\n\n## Custom Keymap\n\n```typescript\nimport { tableNodes, tablePlugin, SupportedKeys, table } from '@milkdown/plugin-table';\n\nEditor.make()\n    .use(commonmark)\n    .use(\n        tableNodes.configure(table, {\n            keymap: {\n                [SupportedKeys.NextCell]: 'Enter',\n                [SupportedKeys.PrevCell]: 'Alt-Enter',\n            },\n        }),\n    )\n    .use(tablePlugin)\n    .create();\n```\n\nKeymap supported:\n\n-   NextCell: go to next cell of table.\n-   PrevCell: go to prev cell of table.\n-   ExitTable: exist current table.\n\n# License\n\nMilkdown is open sourced software licensed under [MIT license](https://github.com/Saul-Mirone/milkdown/blob/main/LICENSE).\n"
}