Skip to content

When I pass rehypeSanitize to rehypePlugins, code highlight doesn't work. #259

@kimye0808

Description

@kimye0808

https://github.com/uiwjs/react-markdown-preview?tab=readme-ov-file#security

Like the security-related example you presented,
if I pass rehypeSanitize to rehypePlugins, the code highlight does not work.
Is this intended? If I remove rehypePlugins, code highlight works normally.
Thanks for reading.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions