react markdown remark directive 源码

上传:qqnegotiable13450 浏览: 32 推荐: 0 文件:ZIP 大小:48.95KB 上传时间:2021-04-25 16:43:39 版权申诉
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
上传资源
用户评论