Skip to content

Remark plugins are not working #41

Closed
@ChristopherPAndrews

Description

@ChristopherPAndrews

Initial checklist

Affected packages and versions

react-remark 2.1.0 and remark-gfm 3.0.1

Link to runnable example

https://stackblitz.com/edit/react-ts-zf4r6n?file=index.tsx

Steps to reproduce

The linked code shows the problem. When I add a remark plugin (in this instance remark-gfm, but I also tried remark-math), there is no output and no errors.

I also tried this using the hook version and got null as the rendered content.

If I dial back the version of remark-gfm to 1.0 as it is in this project's package.json, then it works as expected.

Expected behavior

I expected the markdown to be converted to HTML and the table in github flavored markdown to be correctly rendered.

Actual behavior

Nothing is output at all, and there are no warning or error messages in the console.

Runtime

No response

Package manager

No response

OS

No response

Build and bundle tools

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions