1 Star 1 Fork 0

jso0 / react-markdown

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
贡献代码
同步代码
取消
提示: 由于 Git 不支持空文件夾,创建文件夹后会生成空的 .keep 文件
Loading...
README

React markdown

Demo here.

A markdown text editor written in React. The markdown syntax parser is the marked. I try to use ES6 with Babel to write source code, but not use React ES6. Webpack is used to bundle source code.

Introduction

The reusable editor component is src/js/components/editor.react.jsx, the content of this component is passed through prop, and the change of content will invoke the method refreshState, which should be a function passed as a prop, and update the state of the parent component of this editor.

3 modes are provided:

  • Edit mode
  • Split mode
  • Preview mode

This editor support full screen editting!

TODO

  • Make it responsive.
  • Adjust it to fit as a comment editor, in this status, only provide 2 modes: edit, preview. And the initial height will be smaller.

空文件

简介

react-markdown 展开 收起
JavaScript
取消

发行版

暂无发行版

贡献者

全部

近期动态

加载更多
不能加载更多了
JavaScript
1
https://gitee.com/ijimmy/react-markdown.git
git@gitee.com:ijimmy/react-markdown.git
ijimmy
react-markdown
react-markdown
master

搜索帮助