1. 首页
  2. 数据库
  3. 其它
  4. react markdown remark directive 源码

react markdown remark directive 源码

上传者: 2021-04-25 16:43:39上传 ZIP文件 48.95KB 热度 35次
ReactMarkdown备注指令 这是react-markdown的插件。 它使用指令格式通过remark-directive轻松地将自定义功能添加到您的markdown中。 如果标记是包含的组件之一,它将呈现元素 使用时,只需在调用ReactMarkdown时添加包含的插件并渲染即可 import ReactMarkdown from 'react-markdown' import rmDirective from '../react-markdown-remark-directive' // Object of custom Markdown components const components = { } // Array of ReactMarkdown plugins const rmPlugins = [ // ... other plugins for Rea
用户评论