由于React Native webview组件仅支持iOS,我想知道还有哪些其他选项可用于解析android的markdown字符串 . 有没有人在React Native for Android应用程序中使用过markdown?
看看这是否解决了这个问题:https://github.com/lwansbrough/react-native-markdown
我推荐react-native-markdown-view,我们在2minute.com上使用 .
这是我发现的唯一正确呈现列表的RN Markdown库 . 它也是唯一一个在上个月合并拉取请求的人 .
替代方案:我've tried others in some depth but they can' t做正确的列表 . react-native-simple-markdown 将列表项目符号放在中间而不是列表项的顶部,并且样式也被窃听 . react-native-markdown-renderer 渲染屏幕右侧的列表 . react-native-markdown 在3年内没有被触及,所以我跳过那一个 .
react-native-simple-markdown
react-native-markdown-renderer
react-native-markdown
2 回答
看看这是否解决了这个问题:https://github.com/lwansbrough/react-native-markdown
我推荐react-native-markdown-view,我们在2minute.com上使用 .
这是我发现的唯一正确呈现列表的RN Markdown库 . 它也是唯一一个在上个月合并拉取请求的人 .
替代方案:我've tried others in some depth but they can' t做正确的列表 .
react-native-simple-markdown
将列表项目符号放在中间而不是列表项的顶部,并且样式也被窃听 .react-native-markdown-renderer
渲染屏幕右侧的列表 .react-native-markdown
在3年内没有被触及,所以我跳过那一个 .