
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
markdown-editor-reactjs
Advanced tools
若有bug或好的建议,欢迎加我微信:Lpyexplore333或者在github上提pr
# npm
npm i markdown-editor-reactjs --save
# yarn
yarn add markdown-editor-reactjs -D
import MarkdownEdit from 'markdown-editor-reactjs'
function App() {
return (
<App>
<MarkdownEdit />
</App>
)
}
| windows | mac | 功能 |
|---|---|---|
| tab | tab | 缩进4个字符(支持多行) |
| shift + tab | shift + tab | 删除缩进的4个字符(支持多行) |
| ctrl + z | command + z | 返回上一步 |
| ctrl + y | command + y | 返回下一步 |
| ctrl + b | command + b | 加粗 |
| ctrl + i | command + i | 斜体 |
| ctrl + u | command + u | 删除线 |
| ctrl + l | command + l | 链接 |
| ctrl + o | command + o | 有序列表 |
| ctrl + q | command + q | 引用(暂时有兼容性问题,待处理中) |
| ctrl + 1 | command + 1 | 一级标题 |
| ctrl + 2 | command + 2 | 二级标题 |
| ctrl + 3 | command + 3 | 三级标题 |
| ctrl + 4 | command + 4 | 四级标题 |
| ctrl + 5 | command + 5 | 五级标题 |
| ctrl + 6 | command + 6 | 六级标题 |
| ctrl + alt + t | command + option + t | 表格 |
| ctrl + alt + c | command + option + c | 代码块 |
| ctrl + alt + v | command + option + v | 行内代码 |
| ctrl + alt + l | command + option + l | 图片链接格式 |
| ctrl + alt + u | command + option + u | 无序列表 |
目前支持的代码高亮主题有:
目前支持的markdown主题有:
md格式的文件Copyright (c) 2021-present, zero2one
FAQs
A makrdown editor for react.js
The npm package markdown-editor-reactjs receives a total of 23 weekly downloads. As such, markdown-editor-reactjs popularity was classified as not popular.
We found that markdown-editor-reactjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.