Package Exports
- react-code-markdown-loader
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-code-markdown-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
react-code-markdown-loader
这是一个webpack-loader,它能够将markdown文件解析为React组件。
组件的功能和目前许多的markdown-loader类似,但该loader不同的是,它更倾向于包含源码的文档渲染。
如果你的markdown文件的目录中,包含demo子目录,该loader会自动扫描目录下的所有md文件,并将它们引入到该文档中。
Options
markdownWrapper
自定义Markdown包裹组件,可用自定义样式覆盖