Skip to content

Commonmark doesn't seem to work #145

@alixedi

Description

@alixedi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions