What replaces rehype-filter? #1447
Unanswered
charliematters
asked this question in
Q&A
Replies: 1 comment 4 replies
-
Rehype filter wasn't meant to be public, hence why it wasn't published on its own. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm upgrading our react-markdown logic, and I notice that the following import (for version 8.0.7) doesn't appear to have an equivalent in (10.1.0)?
import rehypeFilter from 'react-markdown/lib/rehype-filter'
We used it as part of a unified parser:
And now I'm not sure how to achieve the same functionality. Did that rehype-filter become something else? Is there another library which does the same thing that react-markdown does internally?
Beta Was this translation helpful? Give feedback.
All reactions