react-native-markdown-renderer
react-native-markdown-renderer copied to clipboard
Commonmark doesn't seem to work
trafficstars
I am trying to pass a custom markdownit prop with the commonmark param like so:
const content = `This should mean that the following:
<strong>Hello World</strong>
results in the same output as:
**Hello World**
`;
<Markdown markdownit={MarkdownIt('commonmark')}>{ content }</Markdown>
I am getting the following error:
html_block renderRule not defined example: <Markdown rules={renderRules}>
What am I missing?
@alixedi did you resolve this issue? can you share the solution?