{"repo":"HarryChen0506/react-markdown-editor-lite","free":true,"listed":false,"github":"https://github.com/HarryChen0506/react-markdown-editor-lite","clone":"git clone https://github.com/HarryChen0506/react-markdown-editor-lite.git","description":"a light-weight Markdown editor based on React. 一款轻量的基于React的markdown编辑器","language":"TypeScript","stars":1135,"topics":["markdown","html","parser","editor","react","component"],"license":"MIT","category":"productivity","readme_excerpt":"react-markdown-editor-lite [![NPM package][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Workflow][workflow-image]][workflow-url] 中文说明 - A light-weight Markdown editor of React component - Supports TypeScript - Supports custom markdown parser - Full markdown support - Supports pluggable function bars - Full control over UI - Supports image uploading and dragging - Supports synced scrolling between editor and preview - 一款轻量的基于 React 的 Markdown 编辑器 - 支持 TypeScript - 支持自定义 Markdown 解析器 - 支持常用的 Markdown 编辑功能，如加粗，斜体等等... - 支持插件化的功能键 - 界面可配置, 如只显示编辑区或预览区 - 支持图片上传或拖拽 - 支持编辑区和预览区同步滚动 Demo Online demo https://harrychen0506.github.io/react-markdown-editor-lite/ Default configuration Pluggable bars Install Basic usage Following steps: - Import react-markdown-editor-lite - Register plugins if required - Initialize a markdown parser, such as markdown-it - Start usage - Props and configurations see here - APIs see here - Plugins developer see here - Full demo see src/demo/index.tsx Usage in server-side render If you are using a server-side render framework, like Next.js, Gatsby, please use client-side render for this editor. For example, Next.js has next/dynamic, Gatsby has loadable-components Following is a example for Next.js: With plugins: Full example see here Using UMD version in browser Since 1.1.0, You can add script and link tags in your browser and use the global variable ReactMarkdownEditorLite . You ","default_branch":null,"files":null,"tree":[],"storefront":"/r/HarryChen0506","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/HarryChen0506/react-markdown-editor-lite/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}