react-native-markdown-renderer icon indicating copy to clipboard operation
react-native-markdown-renderer copied to clipboard

Commonmark doesn't seem to work

Open alixedi opened this issue 5 years ago • 1 comments
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 avatar Apr 09 '20 08:04 alixedi

@alixedi did you resolve this issue? can you share the solution?

chriswitko avatar Feb 05 '21 15:02 chriswitko