import marked from 'marked';
<RichText type='text' nodes={marked(content).replace(/<img/g, "<img class='markimg'")}/>
.markimg{ 100%; }
如果重置的样式很多用就用wxParse
import marked from 'marked';
<RichText type='text' nodes={marked(content).replace(/<img/g, "<img class='markimg'")}/>
.markimg{ 100%; }
如果重置的样式很多用就用wxParse