UNPKG

@tntx/markdown-preview-react

Version:
38 lines 947 B
{ "name": "@tntx/markdown-preview-react", "version": "1.0.2", "type": "module", "module": "dist/index.js", "types": "dist/index.d.ts", "description": "markdown 预览组件", "scripts": { "build": "tsup" }, "keywords": [ "tnt", "tntd", "tntx", "markdown-preview" ], "repository": { "type": "git", "url": "https://github.com/rookie1989/tntx/tree/main/packages/markdown-preview-react" }, "license": "MIT", "files": [ "dist" ], "dependencies": { "classnames": "^2.5.1", "highlight.js": "^11.11.1", "react-markdown": "^10.1.0", "rehype-highlight": "^7.0.2", "rehype-raw": "^7.0.0", "remark-gfm": "^4.0.1" }, "peerDependencies": { "antd": ">=4.0.0", "react": "^16.8.0 || ^17.0.0 || ^18.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0" } }